diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6442756 --- /dev/null +++ b/build.sh @@ -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