Sha256: 3f4a62282dd4d78f99ad9c7964889d296b39d6e5f4873f0f6cf10371012a6fda
Contents?: true
Size: 718 Bytes
Versions: 14
Compression:
Stored size: 718 Bytes
Contents
#!/bin/bash #/ NAME #/ unlock -- #/ #/ SYNOPSIS #/ #/ unlock #/ unlock 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:unlock_${nm_lock}" deploy:finished ;; *) set -- $(for a in "$@"; do echo $a.app; done) bundle exec cap "$@" deploy:began deploy:unlock deploy:finished ;; esac } require sub "$BASH_SOURCE" "$@"
Version data entries
14 entries across 14 versions & 1 rubygems