Merge branch 'packaging/aur' of https://github.com/CompeyDev/lune into packaging/aur

This commit is contained in:
Erica Marigold 2023-07-23 22:22:32 +05:30
commit e7d3958f4a
No known key found for this signature in database
GPG key ID: 23CD97ABBBCC5ED2
2 changed files with 8 additions and 0 deletions

3
.gitattributes vendored
View file

@ -7,3 +7,6 @@
# Ensure all lua files use LF
*.lua eol=lf
*.luau eol=lf
*.PKGBUILD linguist-language=shell
*.justfile linguist-language=makefile

View file

@ -6,6 +6,11 @@ run-test TEST_NAME:
run-file 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
test:
cargo test --lib -- --test-threads 1