ucg/Makefile

27 lines
394 B
Makefile

SHELL = /bin/bash -o pipefail
all: test build
build:
cargo build
test: unit integration stdlibtest
unit:
cargo test
integration:
cargo run -- test -r integration_tests
stdlibtest:
cargo run -- test -r std/tests
install: test
cargo install --path . --force
publish: build test
cargo publish
(cd docsite; make deploysite)
clean:
rm -f integration.log stdlibtest.log unittest.log