Skip to content

Commit

Permalink
Add binstubs for development
Browse files Browse the repository at this point in the history
  • Loading branch information
rossta committed Jan 6, 2016
1 parent 47c8991 commit 8f75d0c
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
@@ -1,5 +1,6 @@
AllCops:
Exclude:
- "bin/**"
- "Guardfile"
- "spec/cassettes/**/*"
- "vendor/**/*"
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -9,6 +9,7 @@ gem "guard-rspec"
gem "launchy"
gem "oauth"
gem "pry"
gem "pry-byebug", platforms: [:ruby_21, :ruby_22]
gem "rake"
gem "rb-fsevent"
gem "rspec", "~> 3.3"
Expand Down
16 changes: 16 additions & 0 deletions bin/_guard-core
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application '_guard-core' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require "rubygems"
require "bundler/setup"

load Gem.bin_path("guard", "_guard-core")
14 changes: 14 additions & 0 deletions bin/console
@@ -0,0 +1,14 @@
#!/usr/bin/env ruby

require "bundler/setup"
require "tacokit"

require "dotenv"
Dotenv.load(
File.expand_path("../.env", __FILE__),
File.expand_path("../.env.development", __FILE__)
)

require "pry"

Pry.start
16 changes: 16 additions & 0 deletions bin/guard
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'guard' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require "rubygems"
require "bundler/setup"

load Gem.bin_path("guard", "guard")
16 changes: 16 additions & 0 deletions bin/rake
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require "rubygems"
require "bundler/setup"

load Gem.bin_path("rake", "rake")
16 changes: 16 additions & 0 deletions bin/rubocop
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rubocop' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require "rubygems"
require "bundler/setup"

load Gem.bin_path("rubocop", "rubocop")
7 changes: 7 additions & 0 deletions bin/setup
@@ -0,0 +1,7 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

bundle install

# Do any other automated setup that you need to do here

0 comments on commit 8f75d0c

Please sign in to comment.