diff --git a/.gitignore b/.gitignore index 25ccd9afd15..d18141fa4df 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,7 @@ build *.java.hsw *.~ava /bundles -/bisq-* +/bisq-*.bat /lib /xchange desktop.ini diff --git a/bisq-apitest b/bisq-apitest new file mode 100755 index 00000000000..953709b6482 --- /dev/null +++ b/bisq-apitest @@ -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 diff --git a/bisq-cli b/bisq-cli new file mode 100755 index 00000000000..fba1c32d413 --- /dev/null +++ b/bisq-cli @@ -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 diff --git a/bisq-daemon b/bisq-daemon new file mode 100755 index 00000000000..d025a5d706d --- /dev/null +++ b/bisq-daemon @@ -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 diff --git a/bisq-desktop b/bisq-desktop new file mode 100755 index 00000000000..e2d1856088d --- /dev/null +++ b/bisq-desktop @@ -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 diff --git a/bisq-seednode b/bisq-seednode new file mode 100755 index 00000000000..ffedf8a8f14 --- /dev/null +++ b/bisq-seednode @@ -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 diff --git a/bisq-statsnode b/bisq-statsnode new file mode 100755 index 00000000000..4c88794f59a --- /dev/null +++ b/bisq-statsnode @@ -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