Sha256: b3426486604496a4daf60924ad41414b678333b19072e328bee7800952d7f488

Contents?: true

Size: 686 Bytes

Versions: 120

Compression:

Stored size: 686 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/libexec/_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

120 entries across 60 versions & 1 rubygems

Version Path
alpha_omega-1.5.10 libexec/build
alpha_omega-1.5.10 libexec/build-gem
alpha_omega-1.5.9 libexec/build
alpha_omega-1.5.9 libexec/build-gem
alpha_omega-1.5.8 libexec/build-gem
alpha_omega-1.5.8 libexec/build
alpha_omega-1.5.7 libexec/build
alpha_omega-1.5.7 libexec/build-gem
alpha_omega-1.5.6 libexec/build
alpha_omega-1.5.6 libexec/build-gem
alpha_omega-1.5.4 libexec/build
alpha_omega-1.5.4 libexec/build-gem
alpha_omega-1.5.3 libexec/build
alpha_omega-1.5.3 libexec/build-gem
alpha_omega-1.5.2 libexec/build
alpha_omega-1.5.2 libexec/build-gem
alpha_omega-1.5.1 libexec/build-gem
alpha_omega-1.5.1 libexec/build
alpha_omega-1.5.0 libexec/build-gem
alpha_omega-1.5.0 libexec/build