mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
MAINT: Fix the builds to run tests always.
This commit is contained in:
parent
3cfbe6564c
commit
535d201edc
21
Makefile
21
Makefile
@ -5,25 +5,20 @@ all: test build
|
||||
build:
|
||||
cargo build
|
||||
|
||||
test: stdlibtest
|
||||
test: unit integration stdlibtest
|
||||
|
||||
rustfiles := $(find . -type f -name '*.rs')
|
||||
stdlibfiles := $(find std -type f -name '*.ucg)
|
||||
stdlibfiles := $(find std -type f -name '*.ucg')
|
||||
|
||||
unittest.log: $(rustfiles)
|
||||
cargo test | tee unittest.log
|
||||
|
||||
unit: unittest.log
|
||||
unit:
|
||||
cargo test
|
||||
|
||||
integration.log: unit
|
||||
cargo run -- test -r integration_tests | tee integration.log
|
||||
integration:
|
||||
cargo run -- test -r integration_tests
|
||||
|
||||
integration: integration.log
|
||||
|
||||
stdlibtest.log: $(stdlibfiles)
|
||||
cargo run -- test -r std/tests | tee stdlibtest.log
|
||||
|
||||
stdlibtest: stdlibtest.log integration
|
||||
stdlibtest:
|
||||
cargo run -- test -r std/tests
|
||||
|
||||
install: test
|
||||
cargo install --path . --force
|
||||
|
Loading…
x
Reference in New Issue
Block a user