2019-02-05 18:50:44 -06:00
|
|
|
SHELL = /bin/bash -o pipefail
|
|
|
|
|
2019-01-08 20:32:16 -06:00
|
|
|
all: test build
|
|
|
|
|
|
|
|
build:
|
|
|
|
cargo build
|
|
|
|
|
2019-02-19 16:37:33 -06:00
|
|
|
test: unit integration stdlibtest
|
2019-01-08 20:32:16 -06:00
|
|
|
|
2019-02-19 16:37:33 -06:00
|
|
|
unit:
|
|
|
|
cargo test
|
2019-01-31 16:55:40 -06:00
|
|
|
|
2019-02-19 16:37:33 -06:00
|
|
|
integration:
|
|
|
|
cargo run -- test -r integration_tests
|
2019-01-31 16:55:40 -06:00
|
|
|
|
2019-02-19 16:37:33 -06:00
|
|
|
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
|
2019-01-31 16:55:40 -06:00
|
|
|
cargo publish
|
2019-02-05 18:50:44 -06:00
|
|
|
(cd docsite; make deploysite)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f integration.log stdlibtest.log unittest.log
|