Skip to content

Commit

Permalink
build: added .justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
quintesse committed Mar 4, 2025
1 parent ddf8121 commit 7e6518b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
open := if os() == "macos" { "open" } else if os() == "windows" { "start" } else { "xdg-open" }

#@default:
# just --choose

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

# run tests
test:
./gradlew test

# open test report
opentest:
{{open}} build/reports/tests/test/index.html

# tag minor
tagminor:
git commit --allow-empty -m "[minor] release"
./gradlew tag

tagpatch:
git commit --allow-empty -m "[patch] release"
./gradlew tag

0 comments on commit 7e6518b

Please sign in to comment.