ucg/Makefile

31 lines
489 B
Makefile
Raw Normal View History

2019-02-05 18:50:44 -06:00
SHELL = /bin/bash -o pipefail
all: test build
build:
cargo build
test: unit integration stdlibtest
rustfiles := $(find . -type f -name '*.rs')
stdlibfiles := $(find std -type f -name '*.ucg')
unit:
cargo test
integration:
cargo run -- test -r integration_tests
stdlibtest:
cargo run -- test -r std/tests
2019-01-15 19:33:08 -06:00
install: test
2019-01-19 13:18:06 -06:00
cargo install --path . --force
publish: build test
cargo publish
2019-02-05 18:50:44 -06:00
(cd docsite; make deploysite)
clean:
rm -f integration.log stdlibtest.log unittest.log