summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-07-11 18:15:39 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-07-11 18:15:39 +0900
commitd4daf6c327a78ebf533c526a81c0bd1794872b60 (patch)
tree7ef95869a7a9c2da6554064d91adc2fe02420541 /bin
parentdebea6b493019ce664000cbf7deeb82387ed91c4 (diff)
downloadpsych-d4daf6c327a78ebf533c526a81c0bd1794872b60.tar.gz
use "bundler/gem_tasks" instead of hoe
Diffstat (limited to 'bin')
-rwxr-xr-xbin/console14
-rwxr-xr-xbin/setup8
2 files changed, 22 insertions, 0 deletions
diff --git a/bin/console b/bin/console
new file mode 100755
index 0000000..54ba4ea
--- /dev/null
+++ b/bin/console
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+
+require "bundler/setup"
+require "psych"
+
+# 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
diff --git a/bin/setup b/bin/setup
new file mode 100755
index 0000000..dce67d8
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -euo pipefail
+IFS=$'\n\t'
+set -vx
+
+bundle install
+
+# Do any other automated setup that you need to do here