Sha256: ba747e3ff38af228a8468a87b7418181a5235d8c97f3e0562cd7391eeac967b1

Contents?: true

Size: 722 Bytes

Versions: 46

Compression:

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

require sub "$BASH_SOURCE" "$@"

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
alpha_omega-1.4.3 libexec/aoh-lock
alpha_omega-1.4.2 libexec/aoh-lock
alpha_omega-1.3.38 libexec/aoh-lock
alpha_omega-1.3.37 libexec/aoh-lock
alpha_omega-1.3.36 libexec/aoh-lock
alpha_omega-1.3.35 libexec/aoh-lock
alpha_omega-1.3.34 libexec/aoh-lock
alpha_omega-1.3.33 libexec/aoh-lock
alpha_omega-1.3.32 libexec/aoh-lock
alpha_omega-1.3.30 libexec/aoh-lock
alpha_omega-1.3.29 libexec/aoh-lock
alpha_omega-1.3.28 libexec/aoh-lock
alpha_omega-1.3.27 libexec/aoh-lock
alpha_omega-1.3.26 libexec/aoh-lock
alpha_omega-1.3.25 libexec/aoh-lock
alpha_omega-1.3.24 libexec/aoh-lock
alpha_omega-1.3.23 libexec/aoh-lock
alpha_omega-1.3.22 libexec/aoh-lock
alpha_omega-1.3.21 libexec/aoh-lock
alpha_omega-1.3.20 libexec/aoh-lock