From 321111d094b15bd9f1458eeaed58049b96c3f3e8 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 16 Jan 2020 21:07:16 +0500 Subject: [PATCH] Remove binstabs --- .rubocop.yml | 1 - bin/bundle | 3 --- bin/rails | 4 ---- bin/rake | 4 ---- bin/setup | 6 ------ bin/update | 6 ------ bin/yarn | 11 ----------- 7 files changed, 35 deletions(-) delete mode 100755 bin/bundle delete mode 100755 bin/rails delete mode 100755 bin/rake delete mode 100755 bin/setup delete mode 100755 bin/update delete mode 100755 bin/yarn diff --git a/.rubocop.yml b/.rubocop.yml index 348dd57..da0512c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,6 @@ AllCops: DisplayCopNames: true Exclude: - - 'bin/**/*' - 'db/schema.rb' - 'lib/tasks/cucumber.rake' - 'lib/templates/**/*' diff --git a/bin/bundle b/bin/bundle deleted file mode 100755 index f19acf5..0000000 --- a/bin/bundle +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env ruby -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) -load Gem.bin_path('bundler', 'bundle') diff --git a/bin/rails b/bin/rails deleted file mode 100755 index 0739660..0000000 --- a/bin/rails +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env ruby -APP_PATH = File.expand_path('../config/application', __dir__) -require_relative '../config/boot' -require 'rails/commands' diff --git a/bin/rake b/bin/rake deleted file mode 100755 index 1724048..0000000 --- a/bin/rake +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env ruby -require_relative '../config/boot' -require 'rake' -Rake.application.run diff --git a/bin/setup b/bin/setup deleted file mode 100755 index bb68a5a..0000000 --- a/bin/setup +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -SCRIPT = File.expand_path(File.join('..', 'script', 'setup'), __dir__).freeze - -system SCRIPT, '--initial' diff --git a/bin/update b/bin/update deleted file mode 100755 index 5d3f166..0000000 --- a/bin/update +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -SCRIPT = File.expand_path(File.join('..', 'script', 'setup'), __dir__).freeze - -system SCRIPT diff --git a/bin/yarn b/bin/yarn deleted file mode 100755 index 460dd56..0000000 --- a/bin/yarn +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env ruby -APP_ROOT = File.expand_path('..', __dir__) -Dir.chdir(APP_ROOT) do - begin - exec "yarnpkg", *ARGV - rescue Errno::ENOENT - $stderr.puts "Yarn executable was not detected in the system." - $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" - exit 1 - end -end