mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-10 04:39:08 +00:00
Merge branch 'packaging/aur' of https://github.com/CompeyDev/lune into packaging/aur
This commit is contained in:
commit
e7d3958f4a
2 changed files with 8 additions and 0 deletions
3
.gitattributes
vendored
3
.gitattributes
vendored
|
@ -7,3 +7,6 @@
|
||||||
# Ensure all lua files use LF
|
# Ensure all lua files use LF
|
||||||
*.lua eol=lf
|
*.lua eol=lf
|
||||||
*.luau eol=lf
|
*.luau eol=lf
|
||||||
|
|
||||||
|
*.PKGBUILD linguist-language=shell
|
||||||
|
*.justfile linguist-language=makefile
|
||||||
|
|
|
@ -6,6 +6,11 @@ run-test TEST_NAME:
|
||||||
run-file FILE_NAME:
|
run-file FILE_NAME:
|
||||||
cargo run -- "{{FILE_NAME}}"
|
cargo run -- "{{FILE_NAME}}"
|
||||||
|
|
||||||
|
# Build Lune for release
|
||||||
|
# TODO: Take input argument for build type, rather than defaulting to `release`
|
||||||
|
build src/main.rs:
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
# Run tests for the Lune library
|
# Run tests for the Lune library
|
||||||
test:
|
test:
|
||||||
cargo test --lib -- --test-threads 1
|
cargo test --lib -- --test-threads 1
|
||||||
|
|
Loading…
Reference in a new issue