Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Add script/*
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwynn committed Sep 14, 2013
1 parent a3118b1 commit 148aa96
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script/bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

set -e

bundle install --quiet "$@"
chmod 0600 tmp/fakehome/.netrc
5 changes: 5 additions & 0 deletions script/cibuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

set -e

script/test
11 changes: 11 additions & 0 deletions script/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

set -e

dir=`pwd`

echo "===> Bundling..."
script/bootstrap --quiet

echo "===> Launching..."
bundle console
5 changes: 5 additions & 0 deletions script/guard
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

set -e
script/bootstrap
bundle exec guard "$@"
7 changes: 7 additions & 0 deletions script/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Usage: script/gem
# Updates the gemspec and builds a new gem in the pkg directory.

mkdir -p pkg
gem build *.gemspec
mv *.gem pkg
14 changes: 14 additions & 0 deletions script/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -e

echo "===> Bundling..."
script/bootstrap --quiet

# if [[ -z "$OCTONAUT_TEST_TOKEN" ]]; then
# echo "Please export OCTONAUT_TEST_TOKEN";
# exit 1;
# fi

echo "===> Running specs..."
bundle exec rake spec

0 comments on commit 148aa96

Please sign in to comment.