diff --git a/justfile b/justfile index 3b232fd..9e74885 100644 --- a/justfile +++ b/justfile @@ -1,12 +1,22 @@ export MAIVI_PORT := "3000" +test_dir := justfile_directory() + "/test/" + build: @just zig-build -[env("MAIVI_ROOT", "./test/")] +[env("MAIVI_ROOT", test_dir)] +[env("MAIVI_REV", "test")] +[env("MAIVI_LOG", "debug")] test: @just mlua test/test.lua +[env("MAIVI_ROOT", test_dir)] +[env("MAIVI_REV", "test")] +[env("MAIVI_LOG", "debug")] +test-build: + @just zig-build run -- build + # zig ========================================================================= [private]