Sha256: f4a6cd98cdcd24113877725f226235523c154c52e1f770bcb2ab0e0d9c1dd632
Contents?: true
Size: 746 Bytes
Versions: 14
Compression:
Stored size: 746 Bytes
Contents
#!/bin/bash #/ NAME #/ lock -- #/ #/ SYNOPSIS #/ #/ lock #/ lock compare|migrate #/ # figure out the project root under which bin, lib live shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)" # load a jason bourne library source "$shome/libexec/_treadstone" require 'ao' function aomain { case "${1}" in compare|migrate) nm_lock="${1}"; shift set -- $(for a in "$@"; do echo $a.app; done) bundle exec cap "$@" deploy:began deploy:dont_unlock "deploy:lock_${nm_lock}" deploy:finished ;; *) set -- $(for a in "$@"; do echo $a.app; done) bundle exec cap "$@" deploy:began deploy:dont_unlock deploy:lock deploy:finished ;; esac } require sub "$BASH_SOURCE" "$@"
Version data entries
14 entries across 14 versions & 1 rubygems