diff options
| author | mo <mo.khan@gmail.com> | 2018-02-11 11:51:26 -0700 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2018-02-11 11:51:26 -0700 |
| commit | 9defc4d5ce0d3ef33fb0b01635433242d0a47c82 (patch) | |
| tree | 79d5910607746735172b21501b558d429e091fa5 | |
| parent | a3c0e4084a46dcee74bbf365cf93a072c949ba80 (diff) | |
add console and setup script.
| -rwxr-xr-x | bin/console | 14 | ||||
| -rwxr-xr-x | bin/setup | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/bin/console b/bin/console new file mode 100755 index 0000000..3bcb4b1 --- /dev/null +++ b/bin/console @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby + +require "bundler/setup" +require 'tfa' + +# 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/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 |
