28 lines
697 B
Makefile
28 lines
697 B
Makefile
alias b := build
|
|
alias r := run
|
|
alias t := test
|
|
alias fmt := format
|
|
|
|
edit:
|
|
godot4 --editor --quiet godot/project.godot
|
|
|
|
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
|
|
|
|
pre-build:
|
|
git submodule update --init --recursive
|
|
|
|
build:
|
|
zig build -Doptimize=Debug
|
|
|
|
run:
|
|
nixGL zig build run -- {{ justfile_directory() }}/life.sqlite3
|
|
|
|
test:
|
|
zig build test
|
|
|
|
format:
|
|
fd -e nix -X nix fmt {}
|