Skip to content

Commit 071216b

Browse files
author
Ferenc Hammerl
committed
Add spaces echo statements to dodge line ending issue
Zipping changes the line endings to CRLF, which in turn confuses command line parameters. Figure out a .gitattributes solution (*.txt eol=crlf)
1 parent 629c4fa commit 071216b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buildAndRun.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sleep 0.2 # So we log under db_1 :)
22
echo "Hacky build-script is starting up. We're reusing the devcontainer (as opposed to getting a proper JRE image)"
33
echo "This is going to take long the first time, Maven needs to install lots of dependencies"
44
cd workspace
5-
/usr/local/sdkman/candidates/maven/current/bin/mvn -T 4 package -DskipTests -nsu -ntp
6-
cd target
5+
/usr/local/sdkman/candidates/maven/current/bin/mvn -T 4 package -DskipTests -nsu -ntp && echo "Done"
6+
cd target
77
echo "Running spring application"
8-
java -jar polls-0.0.1-SNAPSHOT.jar
8+
java -jar polls-0.0.1-SNAPSHOT.jar && echo "Done"

0 commit comments

Comments
 (0)