daisy/Makefile

23 lines
385 B
Makefile
Raw Permalink Normal View History

2023-09-22 10:26:46 -07:00
release:
cargo build --release
2023-10-15 11:36:53 -07:00
nix:
nix-build -E 'let pkgs = import <nixpkgs> { }; in pkgs.callPackage ./default.nix {}'
2023-09-22 10:26:46 -07:00
test:
cargo test
run:
cargo run
wasm:
wasm-pack build --release --target web --out-dir server/pkg
publish:
cargo test
cargo publish
2023-09-22 11:05:30 -07:00
docker: wasm
2023-09-22 11:22:36 -07:00
docker build ./server -t git.betalupi.com/mark/daisy --no-cache
docker push git.betalupi.com/mark/daisy