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

Version Path
alpha_omega-1.3.12 libexec/aoh-unlock
alpha_omega-1.3.11 libexec/aoh-unlock
alpha_omega-1.3.10 libexec/aoh-unlock
alpha_omega-1.4.1 libexec/aoh-unlock
alpha_omega-1.4.0 libexec/aoh-unlock
alpha_omega-1.3.9 libexec/aoh-unlock
alpha_omega-1.3.8 libexec/aoh-unlock
alpha_omega-1.3.7 libexec/aoh-unlock
alpha_omega-1.3.6 libexec/aoh-unlock
alpha_omega-1.3.5 libexec/aoh-unlock
alpha_omega-1.3.4 libexec/aoh-unlock
alpha_omega-1.3.3 libexec/aoh-unlock
alpha_omega-1.3.2 libexec/aoh-unlock
alpha_omega-1.3.1 libexec/aoh-unlock