mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-21 18:10:42 -04:00
27 lines
394 B
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
|