Skip to content

Commit

Permalink
Use exe/ instead of bin/
Browse files Browse the repository at this point in the history
Because of stupid Bundler...
  • Loading branch information
jirutka committed Jul 14, 2023
1 parent 1d29482 commit e58b744
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Gemfile.lock
bin/
coverage/*
pkg/*
tmp/*
2 changes: 1 addition & 1 deletion Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ guard :bundler do
end

guard :rspec, cmd: 'rspec' do
watch('bin/ruby-beautify') { "spec" }
watch('exe/ruby-beautify') { "spec" }
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion ruby-beautify2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Gem::Specification.new do |s|
s.description = "#{s.summary}. This is a maintained fork of the original ruby-beautify."

s.files = Dir['lib/**/*', '*.gemspec', 'LICENSE*', 'README*']
s.executables = Dir['bin/*'].map { |f| File.basename(f) }
s.executables = Dir['exe/*'].map { |f| File.basename(f) }
s.bindir = 'exe'

s.required_ruby_version = '>= 2.0'

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
require 'ruby-beautify'


BEAUTIFY_BIN = "#{Dir.pwd}/bin/ruby-beautify"
BEAUTIFY_BIN = "#{Dir.pwd}/exe/ruby-beautify"

0 comments on commit e58b744

Please sign in to comment.