Sha256: 4ee7cc4891bb6eed334aca960c044a8f174f111588931625c7c3120d5c19614a

Contents?: true

Size: 548 Bytes

Versions: 5

Compression:

Stored size: 548 Bytes

Contents

#!/bin/bash

#/ NAME
#/     ao-task -- run a capistrano task remotely
#/
#/ SYNOPSIS
#/     ao task <task_name> 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 {
  local nm_task=$1; shift
  set -- $(for a in "$@"; do echo $a.app; done)
  bundle exec cap "$@" deploy:lock_migrate deploy:migrate "$nm_task"
}

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

Version data entries

5 entries across 5 versions & 1 rubygems

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