Skip to content

Commit

Permalink
Enforce same JDK in all start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Sep 10, 2023
1 parent 042f926 commit e9d34f3
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ build
*.java.hsw
*.~ava
/bundles
/bisq-*
/bisq-*.bat
/lib
/xchange
desktop.ini
Expand Down
16 changes: 16 additions & 0 deletions bisq-apitest
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions bisq-cli
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions bisq-daemon
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions bisq-desktop
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions bisq-seednode
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions bisq-statsnode
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e9d34f3

Please sign in to comment.