build.sh automatically builds on changes
This commit is contained in:
9
build.sh
Executable file
9
build.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
find src | entr -c sh -c 'echo "\n\n\n\n" ; zig build test 2>&1 | cat; echo "\n\n\n" ; date'
|
||||||
|
|
||||||
|
# build exe for windows
|
||||||
|
# doesn't work anymore, because I added the version number as module "config" to the
|
||||||
|
# root_module. In main,zig we import the module. This only works when building
|
||||||
|
# using the build.zig file, but not when building without a build file.
|
||||||
|
#zig build-exe src/main.zig -O ReleaseSmall -fstrip -fsingle-threaded -target x86_64-windows
|
||||||
|
|
||||||
|
zig build && ./zig-out/bin/zig-totp list
|
||||||
Reference in New Issue
Block a user