Skip to content

Commit c19859b

Browse files
authored
chore: fix justfile for windows (#1935)
1 parent 62526ae commit c19859b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
open := if os() == "macos" { "open" } else { "xdg-open" }
1+
open := if os() == "macos" { "open" } else if os() == "windows" { "start" } else { "xdg-open" }
22

33
#@default:
44
# just --choose
@@ -12,7 +12,7 @@ test:
1212
./gradlew test
1313

1414
preitest := if path_exists('build/install/jbang/bin') != 'true' {
15-
'./gradlew installDist -x test'
15+
'./gradlew spotlessApply installDist -x test'
1616
} else {
1717
''
1818
}

0 commit comments

Comments
 (0)