2023-10-06 14:40:56 +02:00
|
|
|
alias b := build
|
|
|
|
alias r := run
|
|
|
|
alias t := test
|
|
|
|
alias fmt := format
|
|
|
|
|
2023-12-18 22:21:03 +01:00
|
|
|
edit:
|
2023-12-20 22:42:14 +01:00
|
|
|
godot4 --editor --quiet godot/project.godot
|
2023-12-20 22:54:18 +01:00
|
|
|
|
|
|
|
android-keystore:
|
|
|
|
mkdir -p android
|
|
|
|
keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore android/debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12
|
|
|
|
keytool -v -genkey -keystore logue.keystore -alias logue -keyalg RSA -validity 10000
|
2023-12-18 22:21:03 +01:00
|
|
|
|
2023-10-15 23:05:24 +02:00
|
|
|
pre-build:
|
|
|
|
git submodule update --init --recursive
|
|
|
|
|
2023-10-04 14:20:49 +02:00
|
|
|
build:
|
2023-10-15 23:05:24 +02:00
|
|
|
zig build -Doptimize=Debug
|
2023-10-04 14:20:49 +02:00
|
|
|
|
2023-10-15 23:05:24 +02:00
|
|
|
run:
|
2023-10-30 14:02:11 +01:00
|
|
|
nixGL zig build run -- {{ justfile_directory() }}/life.sqlite3
|
2023-10-04 14:20:49 +02:00
|
|
|
|
|
|
|
test:
|
2023-10-06 14:40:56 +02:00
|
|
|
zig build test
|
2023-10-04 14:20:49 +02:00
|
|
|
|
2023-10-06 14:40:56 +02:00
|
|
|
format:
|
|
|
|
fd -e nix -X nix fmt {}
|