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.5.10 libexec/aoh-lock
alpha_omega-1.5.9 libexec/aoh-lock
alpha_omega-1.5.8 libexec/aoh-lock
alpha_omega-1.5.7 libexec/aoh-lock
alpha_omega-1.5.6 libexec/aoh-lock
alpha_omega-1.5.4 libexec/aoh-lock
alpha_omega-1.5.3 libexec/aoh-lock
alpha_omega-1.5.2 libexec/aoh-lock
alpha_omega-1.5.1 libexec/aoh-lock
alpha_omega-1.5.0 libexec/aoh-lock
alpha_omega-1.3.48 libexec/aoh-lock
alpha_omega-1.3.47 libexec/aoh-lock
alpha_omega-1.3.46 libexec/aoh-lock
alpha_omega-1.3.45 libexec/aoh-lock
alpha_omega-1.3.44 libexec/aoh-lock
alpha_omega-1.3.43 libexec/aoh-lock
alpha_omega-1.3.42 libexec/aoh-lock
alpha_omega-1.3.41 libexec/aoh-lock
alpha_omega-1.3.40 libexec/aoh-lock
alpha_omega-1.3.39 libexec/aoh-lock