2023-03-25 10:12:09 +00:00
|
|
|
# Run an individual test using the Lune CLI
|
|
|
|
run-test TEST_NAME:
|
2023-06-12 11:20:36 +01:00
|
|
|
cargo run -- "tests/{{TEST_NAME}}"
|
2023-03-25 10:12:09 +00:00
|
|
|
|
2023-03-27 12:00:45 +01:00
|
|
|
# Run an individual file using the Lune CLI
|
|
|
|
run-file FILE_NAME:
|
2023-06-12 11:20:36 +01:00
|
|
|
cargo run -- "{{FILE_NAME}}"
|
2023-03-27 12:00:45 +01:00
|
|
|
|
2023-07-23 17:38:41 +01:00
|
|
|
# Build Lune for release
|
|
|
|
# TODO: Take input argument for build type, rather than defaulting to `release`
|
|
|
|
build src/main.rs:
|
|
|
|
cargo build --release
|
|
|
|
|
2023-03-22 13:12:05 +00:00
|
|
|
# Run tests for the Lune library
|
|
|
|
test:
|
2023-07-20 08:47:00 +01:00
|
|
|
cargo test --lib -- --test-threads 1
|