Sha256: 9ecf62a04a848183784136c2c32ff7f0fb363e7dd856d9cffcfc62b3dbfc3f99

Contents?: true

Size: 682 Bytes

Versions: 21

Compression:

Stored size: 682 Bytes

Contents

#!/bin/bash

#/ NAME
#/     build-gem -- upload the latest (timestamp) rubygem to rubygems.org
#/
#/ SYNOPSIS
#/     build gem -n gem_name

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

# define command line options:
DEFINE_string 'name' "$(basename "$shome")" 'name of gem' 'n'

# entry point
function main {
  local pth_gemspec="$shome/$FLAGS_name.gemspec"
  if [[ ! -e "$pth_gemspec" ]]; then
    logger_fatal "could not find gemspec $pth_gemspec"
    exit 1
  fi

  cd "$shome"
  gem build "$pth_gemspec"
}

require sub "$BASH_SOURCE" "$@"

Version data entries

21 entries across 12 versions & 2 rubygems

Version Path
alpha_omega-1.2.1 libexec/build-gem
alpha_omega-1.2.1 libexec/build
boxcar-0.10005.1 libexec/build
boxcar-0.10005.1 libexec/build-gem
alpha_omega-1.2.0 libexec/build-gem
alpha_omega-1.2.0 libexec/build
alpha_omega-1.1.11 libexec/build-gem
alpha_omega-1.1.11 libexec/build
alpha_omega-1.1.10 libexec/build-gem
alpha_omega-1.1.10 libexec/build
alpha_omega-1.1.9 libexec/build
alpha_omega-1.1.9 libexec/build-gem
alpha_omega-1.1.7 libexec/build-gem
alpha_omega-1.1.7 libexec/build
alpha_omega-1.1.6 libexec/build-gem
alpha_omega-1.1.6 libexec/build
alpha_omega-1.1.5 libexec/build-gem
alpha_omega-1.1.4 libexec/build-gem
alpha_omega-1.1.3 libexec/build-gem
alpha_omega-1.1.1 libexec/build