Skip to content

Commit

Permalink
Use POSIX-compliant modern style for declaring functions in `developm…
Browse files Browse the repository at this point in the history
…ent.sh`.
  • Loading branch information
jarkkoka committed Jan 20, 2025
1 parent 966187e commit 8672012
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions development.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,31 +85,31 @@ download_docker_compose_bundle() {
echo "$commit_sha" > ./docker/RELEASE_VERSION.txt
}

function start {
start() {
$DOCKER_COMPOSE_CMD up --build -d jore4-tiamat jore4-testdb
}

function start_dependencies {
start_dependencies() {
$DOCKER_COMPOSE_CMD up -d jore4-testdb
}

function stop_all {
stop_all() {
$DOCKER_COMPOSE_CMD stop
}

function remove_all {
remove_all() {
$DOCKER_COMPOSE_CMD down
}

function build {
build() {
mvn clean package spring-boot:repackage
}

function run_tests {
run_tests() {
mvn test
}

function print_usage {
print_usage() {
echo "
Usage $(basename "$0") <command>
Expand Down

0 comments on commit 8672012

Please sign in to comment.