summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cibuild22
-rwxr-xr-xbin/console7
-rwxr-xr-xbin/lint5
-rwxr-xr-xbin/setup10
-rwxr-xr-xbin/shipit4
-rwxr-xr-xbin/style8
-rwxr-xr-xbin/test1
7 files changed, 15 insertions, 42 deletions
diff --git a/bin/cibuild b/bin/cibuild
deleted file mode 100755
index 4990224..0000000
--- a/bin/cibuild
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-set -e
-[ -z "$DEBUG" ] || set -x
-
-cd "$(dirname "$0")/.."
-
-export RUBY_GC_MALLOC_LIMIT=79000000
-export RUBY_GC_HEAP_INIT_SLOTS=800000
-export RUBY_HEAP_FREE_MIN=100000
-export RUBY_HEAP_SLOTS_INCREMENT=400000
-export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
-export CIBUILD=1
-
-echo "[$(date "+%H:%M:%S")] ==> Running setup…"
-bin/setup
-
-echo "[$(date "+%H:%M:%S")] ==> Running tests…"
-bin/test
-
-echo "[$(date "+%H:%M:%S")] ==> Running linters…"
-bin/lint
diff --git a/bin/console b/bin/console
index 3a6e116..520b0ca 100755
--- a/bin/console
+++ b/bin/console
@@ -4,12 +4,5 @@
require 'bundler/setup'
require 'net/hippie'
-# You can add fixtures and/or initialization code here to make experimenting
-# with your gem easier. You can also use a different console, if you like.
-
-# (If you use this, don't forget to add pry to your Gemfile!)
-# require "pry"
-# Pry.start
-
require 'irb'
IRB.start(__FILE__)
diff --git a/bin/lint b/bin/lint
deleted file mode 100755
index 054c5c8..0000000
--- a/bin/lint
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-set -e
-
-bundle exec rake lint
diff --git a/bin/setup b/bin/setup
index 1c303f4..f2ff019 100755
--- a/bin/setup
+++ b/bin/setup
@@ -1,7 +1,7 @@
-#!/usr/bin/env bash
-set -euo pipefail
-IFS=$'\n\t'
+#!/bin/sh
+set -e
+[ -z "$DEBUG" ] || set -x
+
+cd "$(dirname "$0")/.."
-ruby -v
-gem install bundler -v '~> 2.0'
bundle install
diff --git a/bin/shipit b/bin/shipit
index 5271880..f99d529 100755
--- a/bin/shipit
+++ b/bin/shipit
@@ -1,10 +1,8 @@
#!/bin/sh
set -e
+[ -z "$DEBUG" ] || set -x
cd "$(dirname "$0")/.."
-[ -z "$DEBUG" ] || set -x
-
-bin/cibuild
bundle exec rake release
diff --git a/bin/style b/bin/style
new file mode 100755
index 0000000..23fa24d
--- /dev/null
+++ b/bin/style
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+[ -z "$DEBUG" ] || set -x
+
+cd "$(dirname "$0")/.."
+
+bundle exec rake rubocop
diff --git a/bin/test b/bin/test
index e058fc5..5e102f4 100755
--- a/bin/test
+++ b/bin/test
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
+[ -z "$DEBUG" ] || set -x
cd "$(dirname "$0")/.."