2024-02-18 18:50:22 +00:00
|
|
|
sqlx:
|
2024-03-28 02:19:15 +00:00
|
|
|
cargo sqlx database drop -y
|
2023-11-23 15:00:24 +00:00
|
|
|
cargo sqlx database create
|
|
|
|
cargo sqlx migrate run
|
2023-11-24 21:45:44 +00:00
|
|
|
cargo sqlx prepare --workspace
|
2023-11-23 15:00:24 +00:00
|
|
|
|
|
|
|
build-rpi:
|
|
|
|
cross build --target arm-unknown-linux-gnueabihf
|
2023-11-27 23:19:15 +00:00
|
|
|
|
2024-04-29 02:19:02 +00:00
|
|
|
emgauwa-%.json: config/%.pkl config/lib/%.pkl
|
2024-02-18 18:50:22 +00:00
|
|
|
pkl eval -f json -o $@ $<
|
2023-12-04 22:59:26 +00:00
|
|
|
|
2024-02-18 18:50:22 +00:00
|
|
|
configs:
|
2024-03-04 15:09:03 +00:00
|
|
|
$(MAKE) emgauwa-core.json
|
|
|
|
$(MAKE) emgauwa-controller.json
|
2024-03-28 02:19:15 +00:00
|
|
|
|
2024-04-29 02:19:02 +00:00
|
|
|
pkl-package:
|
|
|
|
pkl project package config --output-path "./pkl-out"
|
|
|
|
|
2024-03-28 02:19:15 +00:00
|
|
|
clean:
|
|
|
|
rm -f emgauwa-controller.json
|
|
|
|
rm -f emgauwa-controller.sqlite
|
|
|
|
rm -f emgauwa-core.json
|
|
|
|
rm -f emgauwa-core.sqlite
|
|
|
|
rm -f emgauwa-dev.sqlite
|