Skip to content

Commit

Permalink
Merge branch 'master' into add-test-wf
Browse files Browse the repository at this point in the history
  • Loading branch information
udda1996 authored Aug 31, 2023
2 parents ab392f3 + 1bbe929 commit 81e17cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/bin/bal
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
RUN_COMMAND=false
RUN_BALLERINA=true

if [ "$1" == "dist" ] || [ "$2" == "dist" ] || [ "$1" == "update" ]|| [ "$2" == "update" ]
if [ "$1" == "dist" ] || [ "$2" == "dist" ] || [ "$1" == "update" ] || ( [ "$1" == "dist" ] && [ "$2" == "update" ] )
then
RUN_COMMAND=true
RUN_BALLERINA=false
Expand Down
6 changes: 5 additions & 1 deletion resources/bin/bal.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ set JAVA_CMD=java
if "%1" == "dist" set dist=true
if "%~2" == "dist" set dist=true
if "%1" == "update" set dist=true
if "%~2" == "update" set dist=true
if "%~2" == "update" (
if "%1" == "dist" (
set dist=true
)
)
if "%1" == "build" set dist=true
if "%1" == "update" set update=true
if "%1" == "build" set build=true
Expand Down

0 comments on commit 81e17cf

Please sign in to comment.