2023-03-25 11:12:09 +01:00
|
|
|
# Run an individual test using the Lune CLI
|
|
|
|
run-test TEST_NAME:
|
2023-06-12 12:20:36 +02:00
|
|
|
cargo run -- "tests/{{TEST_NAME}}"
|
2023-03-25 11:12:09 +01:00
|
|
|
|
2023-03-27 13:00:45 +02:00
|
|
|
# Run an individual file using the Lune CLI
|
|
|
|
run-file FILE_NAME:
|
2023-06-12 12:20:36 +02:00
|
|
|
cargo run -- "{{FILE_NAME}}"
|
2023-03-27 13:00:45 +02:00
|
|
|
|
2023-07-23 22:08:41 +05:30
|
|
|
# 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 14:12:05 +01:00
|
|
|
# Run tests for the Lune library
|
|
|
|
test:
|
2023-07-20 09:47:00 +02:00
|
|
|
cargo test --lib -- --test-threads 1
|