Skip to content

Commit

Permalink
Merge pull request #109 from Kevin-Lee/fix-build-script
Browse files Browse the repository at this point in the history
Fixed: build scripts
  • Loading branch information
kevin-lee committed Oct 24, 2019
2 parents f12d098 + 46c4340 commit 8c5dd55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/sbt-build-simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

set -x

if [ "$#" -eq 2 ]
if [ "$#" -ne 2 ]
then
echo "Scala version is missing. Please enter the Scala version."
echo "sbt-build-simple.sh 2.11.12"
exit 1
else
SCALA_VERSION=$1
SBT_VERSION=$2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sbt-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

set -x

if [ "$#" -eq 2 ]
if [ "$#" -ne 2 ]
then
echo "Scala version and sbt version are missing. Please enter the Scala and sbt versions."
echo "sbt-build.sh 2.12.10 1.3.3"
exit 1
else
SCALA_VERSION=$1
SBT_VERSION=$2
Expand Down

0 comments on commit 8c5dd55

Please sign in to comment.