daisy/Makefile

23 lines
385 B
Makefile

release:
cargo build --release
nix:
nix-build -E 'let pkgs = import <nixpkgs> { }; in pkgs.callPackage ./default.nix {}'
test:
cargo test
run:
cargo run
wasm:
wasm-pack build --release --target web --out-dir server/pkg
publish:
cargo test
cargo publish
docker: wasm
docker build ./server -t git.betalupi.com/mark/daisy --no-cache
docker push git.betalupi.com/mark/daisy