summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-07-13 21:13:51 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-07-13 21:13:51 -0400
commit867277f54303aa6a41413ab8fa8d226568bc1f4e (patch)
treed4a9fd4670ff256c0df953b032639b898e409828
parentedb995e2c961160f7e8a70ce09c35e664ffe54a7 (diff)
[BUILD] Add option to build both by not passing second arg
-rwxr-xr-xgobuild.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/gobuild.sh b/gobuild.sh
index 589f30d..e233cd5 100755
--- a/gobuild.sh
+++ b/gobuild.sh
@@ -55,7 +55,12 @@ if [[ -n $3 ]]; then
fi
if $(is_os $1); then
- $1 $2
+ if [[ -z $2 ]]; then
+ $1 tint
+ $1 parse
+ else
+ $1 $2
+ fi
else
print_help
fi