Skip to content

Commit

Permalink
do not assume fzf nor gradle is present
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Nov 18, 2023
1 parent 1f03ada commit e5ddb5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .justfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
open := if os() == "macos" { "open" } else { "xdg-open" }

@default:
just --choose
#@default:
# just --choose

# build without tests
build:
gradle spotlessApply installDist -x test
./gradlew spotlessApply installDist -x test

# run tests
test:
gradle test
./gradlew test

preitest := if path_exists('build/install/jbang/bin') != 'true' {
'gradle installDist -x test'
'./gradlew installDist -x test'
} else {
''
}
Expand Down

0 comments on commit e5ddb5f

Please sign in to comment.