Files
zig-totp/build.sh

10 lines
503 B
Bash
Executable File

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