Skip to content

Commit

Permalink
Added executables and un_used_methods file
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhamo1107 committed Aug 16, 2024
1 parent 9d66f66 commit df4c5a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions bin/un_used_methods
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env ruby

require 'bundler/setup'
require 'un_used_methods'

UnUsedMethods::CLI.start(ARGV)
2 changes: 1 addition & 1 deletion un_used_methods.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.executables = ['un_used_methods']
spec.require_paths = ["lib"]

# Add development dependencies
Expand Down

0 comments on commit df4c5a3

Please sign in to comment.