From 1c6f010df41e5cce38fe6657130a8a0a00e4dbad Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 27 Jun 2020 09:37:34 -0700 Subject: turnkey: take an optional arg --- turnkey | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/turnkey b/turnkey index 5330ec4..f0efdb4 100755 --- a/turnkey +++ b/turnkey @@ -1,12 +1,16 @@ #!/usr/bin/env bash set -ex lint -stuff=( - Biz.Cloud - Biz.Dev - Que.Prod - Hero.Prod -) +stuff=(${1}) +if [[ ${#stuff[@]} -eq 0 ]] +then + stuff=( + Biz.Cloud + Biz.Dev + Que.Prod + Hero.Prod + ) +fi for thing in ${stuff[@]} do bild $thing -- cgit v1.2.3