2024-02-18 18:50:22 +00:00
|
|
|
sqlx:
|
|
|
|
cargo sqlx database drop
|
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-02-18 18:50:22 +00:00
|
|
|
_local/emgauwa-%.json: config/emgauwa-%.pkl config/lib/%.pkl config/lib/common.pkl
|
|
|
|
pkl eval -f json -o $@ $<
|
2023-12-04 22:59:26 +00:00
|
|
|
|
2024-02-18 18:50:22 +00:00
|
|
|
configs:
|
|
|
|
$(MAKE) _local/emgauwa-core.json
|
|
|
|
$(MAKE) _local/emgauwa-controller.json
|