From e716690468c4a55d8e069efad44f452ffb3f2927 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 23 Jul 2023 22:08:41 +0530 Subject: [PATCH 1/2] chore: manually "merge" .justfile from main to packaging/aur --- .justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.justfile b/.justfile index 04e1760..0a341b2 100644 --- a/.justfile +++ b/.justfile @@ -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 From a3f65883df0d9b4a56651457c5e5cb52cc1e604d Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 23 Jul 2023 22:12:42 +0530 Subject: [PATCH 2/2] chore(gitattributes): syntax highlighting for PKGBUILDs and .justfile --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index cf332f3..dee139d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,3 +7,6 @@ # Ensure all lua files use LF *.lua eol=lf *.luau eol=lf + +*.PKGBUILD linguist-language=shell +*.justfile linguist-language=makefile