Skip to content

Commit 13ff48c

Browse files
committed
Use POSIX-compliant modern style for declaring functions in development.sh.
1 parent 703034f commit 13ff48c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

development.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,27 +85,27 @@ download_docker_compose_bundle() {
8585
echo "$commit_sha" > ./docker/RELEASE_VERSION.txt
8686
}
8787

88-
function start {
88+
start() {
8989
$DOCKER_COMPOSE_CMD up --build -d jore4-auth jore4-testdb
9090
}
9191

92-
function stop_all {
92+
stop_all() {
9393
$DOCKER_COMPOSE_CMD stop
9494
}
9595

96-
function remove_all {
96+
remove_all() {
9797
$DOCKER_COMPOSE_CMD down
9898
}
9999

100-
function build {
100+
build() {
101101
mvn install
102102
}
103103

104-
function run_tests {
104+
run_tests() {
105105
mvn test
106106
}
107107

108-
function print_usage {
108+
print_usage() {
109109
echo "
110110
Usage: $(basename "$0") <command>
111111

0 commit comments

Comments
 (0)