Sha256: 140376596cf6b08db112871791de7b9303515dfb87abba90264a0b6a27714882

Contents?: true

Size: 694 Bytes

Versions: 46

Compression:

Stored size: 694 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)
      cap "$@" deploy:began "deploy:unlock_${nm_lock}" deploy:finished
      ;;
    *)
      set -- $(for a in "$@"; do echo $a.app; done)
      cap "$@" deploy:began deploy:unlock deploy:finished
      ;;
  esac
}

require sub "$BASH_SOURCE" "$@"

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
alpha_omega-1.3.19 libexec/aoh-unlock
alpha_omega-1.3.18 libexec/aoh-unlock
alpha_omega-1.3.17 libexec/aoh-unlock
alpha_omega-1.3.16 libexec/aoh-unlock
alpha_omega-1.3.15 libexec/aoh-unlock
alpha_omega-1.3.14 libexec/aoh-unlock