Skip to content

Commit

Permalink
Fix justfile args
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Jan 18, 2024
1 parent b857613 commit b49847f
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions Justfile
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit b49847f

Please sign in to comment.