From b49847ffccdddf14284c75085ea9f050320e99b3 Mon Sep 17 00:00:00 2001 From: Julien Vincent Date: Thu, 18 Jan 2024 17:22:11 +0000 Subject: [PATCH] Fix justfile args --- Justfile | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/Justfile b/Justfile index 7fb62b8..ef3f951 100644 --- a/Justfile +++ b/Justfile @@ -1,15 +1,8 @@ -snapshot := env_var_or_default('SNAPSHOT', 'true') -create_tags := env_var_or_default('CREATE_TAGS', 'false') -include_unchanged := env_var_or_default('INCLUDE_UNCHANGED', 'true') +test *ARGS: + clojure -T:kmono run :exec "\"just test\"" {{ ARGS }} -test: - clojure -T:kmono run :exec "\"just test\"" \ - ":include-unchanged?" {{ include_unchanged }} +build *ARGS: + clojure -T:kmono run :exec :build {{ ARGS }} -build: - clojure -T:kmono run :exec :build ":snapshot?" {{ snapshot }} \ - ":include-unchanged?" {{ include_unchanged }} - -release: - clojure -T:kmono run :exec :release ":snapshot?" {{ snapshot }} \ - ":create-tags?" {{ create_tags }} ":include-unchanged?" {{ include_unchanged }} +release *ARGS: + clojure -T:kmono run :exec :release {{ ARGS }}