Set up makefiles for the Kifu app

This commit is contained in:
Savanni D'Gerinel 2023-05-03 20:29:49 -04:00
parent 78af31f6f9
commit edcf20cc25
3 changed files with 25 additions and 0 deletions

View File

@ -35,3 +35,17 @@ ifc-dev:
ifc-test: ifc-test:
cd ifc && make test cd ifc && make test
kifu-core/dev:
cd kifu/kifu-core && make test
kifu-core/test:
cd kifu/kifu-core && make test
kifu-core/test-oneshot:
cd kifu/kifu-core && make test-oneshot
kifu-gtk:
cd kifu/kifu-gtk && make release
kifu-gtk/dev:
cd kifu/kifu-gtk && make dev

6
kifu/kifu-core/Makefile Normal file
View File

@ -0,0 +1,6 @@
test:
cargo watch -x 'nextest run'
test-oneshot:
cargo nextest run

5
kifu/kifu-gtk/Makefile Normal file
View File

@ -0,0 +1,5 @@
release:
cargo build --release
dev:
cargo watch -x run