Skip to content

Commit a4d322b

Browse files
authored
fix: Fix java bootstrap problem (#25)
1 parent 0620a91 commit a4d322b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ for lang in python go java nodejs; do
8888
grep -v "node_modules" | \
8989
grep -v "package-lock.json" | \
9090
# java
91-
grep -v "\.gradle" | \
91+
grep -v "^\.gradle$" | \
9292
# zip
9393
zip "../../release/$zip_name" -@)
9494
echo " ✨ Package created successfully: release/$zip_name"

java/bootstrap.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# PowerShell script to run gradle project
2-
.\gradlew.bat run
2+
$CurrentPath = $PSScriptRoot
3+
Start-Process -FilePath "cmd.exe" -ArgumentList "/c pushd `"$CurrentPath`" && call gradlew.bat run && popd" -Wait -NoNewWindow

java/bootstrap.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22

3-
./gradlew run
3+
chmod +x ./gradlew
4+
./gradlew run

0 commit comments

Comments
 (0)