Sha256: 7176bc4d0a95bfb07c40f93d9de4f693ac3cc334bf2eea78f990958651650b35

Contents?: true

Size: 537 Bytes

Versions: 5

Compression:

Stored size: 537 Bytes

Contents

#!/bin/bash

#/ NAME
#/     ao-activate -- make the next workarea current and restart services
#/
#/ SYNOPSIS
#/     ao activate [deploy_set...]

# 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/sbin/_treadstone"

# parse the command-line

# entry point
function main {
  set -- $(for a in "$@"; do echo $a.app; done)
  bundle exec cap "$@" deploy:lock deploy:symlink deploy:restart
}

require 'sub' "$BASH_SOURCE" "$@"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alpha_omega-1.2.1 libexec/ao-activate
alpha_omega-1.2.0 libexec/ao-activate
alpha_omega-1.1.11 libexec/ao-activate
alpha_omega-1.1.10 libexec/ao-activate
alpha_omega-1.1.9 libexec/ao-activate