Sha256: 72af8722017d3e3b1c0bb3d26b53030ab70d053487a9775e8761482f9006fcec
Contents?: true
Size: 730 Bytes
Versions: 5
Compression:
Stored size: 730 Bytes
Contents
#!/bin/bash #/ NAME #/ ao-unlock -- unlock a deploy #/ #/ SYNOPSIS #/ ao unlock [deploy_set...] #/ ao unlock migrate|compare [deploy_set...] # 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/sbin/_treadstone" # parse the command-line # entry point function main { case "${1}" in compare|migrate) nm_lock="${1}"; shift set -- $(for a in "$@"; do echo $a.app; done) bundle exec cap "$@" "deploy:unlock_${nm_lock}" ;; *) set -- $(for a in "$@"; do echo $a.app; done) bundle exec cap "$@" deploy:unlock ;; esac } require 'sub' "$BASH_SOURCE" "$@"
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
alpha_omega-1.2.1 | libexec/ao-unlock |
alpha_omega-1.2.0 | libexec/ao-unlock |
alpha_omega-1.1.11 | libexec/ao-unlock |
alpha_omega-1.1.10 | libexec/ao-unlock |
alpha_omega-1.1.9 | libexec/ao-unlock |