Enforce same JDK in all start scripts

This commit is contained in:
Alva Swanson 2023-09-10 22:11:37 +02:00
parent 042f92665b
commit e9d34f39d9
No known key found for this signature in database
GPG Key ID: 004760E77F753090
7 changed files with 97 additions and 1 deletions

2
.gitignore vendored
View File

@ -22,7 +22,7 @@ build
*.java.hsw
*.~ava
/bundles
/bisq-*
/bisq-*.bat
/lib
/xchange
desktop.ini

16
bisq-apitest Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
project_dir=$(dirname "${BASH_SOURCE[0]}")
echo $project_dir
cd "$project_dir" || exit
args=
for i in "$@"
do
args+="$i "
done
if [ ${#@} -eq 0 ]; then
./gradlew :apitest:startBisqApp
else
./gradlew :apitest:startBisqApp --args \"\""$args"\"\"
fi

16
bisq-cli Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
project_dir=$(dirname "${BASH_SOURCE[0]}")
echo $project_dir
cd "$project_dir" || exit
args=
for i in "$@"
do
args+="$i "
done
if [ ${#@} -eq 0 ]; then
./gradlew :cli:startBisqApp
else
./gradlew :cli:startBisqApp --args \"\""$args"\"\"
fi

16
bisq-daemon Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
project_dir=$(dirname "${BASH_SOURCE[0]}")
echo $project_dir
cd "$project_dir" || exit
args=
for i in "$@"
do
args+="$i "
done
if [ ${#@} -eq 0 ]; then
./gradlew :daemon:startBisqApp
else
./gradlew :daemon:startBisqApp --args \"\""$args"\"\"
fi

16
bisq-desktop Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
project_dir=$(dirname "${BASH_SOURCE[0]}")
echo $project_dir
cd "$project_dir" || exit
args=
for i in "$@"
do
args+="$i "
done
if [ ${#@} -eq 0 ]; then
./gradlew :desktop:startBisqApp
else
./gradlew :desktop:startBisqApp --args \"\""$args"\"\"
fi

16
bisq-seednode Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
project_dir=$(dirname "${BASH_SOURCE[0]}")
echo $project_dir
cd "$project_dir" || exit
args=
for i in "$@"
do
args+="$i "
done
if [ ${#@} -eq 0 ]; then
./gradlew :seednode:startBisqApp
else
./gradlew :seednode:startBisqApp --args \"\""$args"\"\"
fi

16
bisq-statsnode Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
project_dir=$(dirname "${BASH_SOURCE[0]}")
echo $project_dir
cd "$project_dir" || exit
args=
for i in "$@"
do
args+="$i "
done
if [ ${#@} -eq 0 ]; then
./gradlew :statsnode:startBisqApp
else
./gradlew :statsnode:startBisqApp --args \"\""$args"\"\"
fi