1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/usr/bin/env bash set -ex lint stuff=(${1}) if [[ ${#stuff[@]} -eq 0 ]] then stuff=( Biz.Cloud Biz.Dev Que.Prod Hero.Prod ) fi for thing in ${stuff[@]} do bild $thing done for thing in ${stuff[@]} do push $thing done