Permalink
Browse files

Move "mutant" binary to exe directory, so I can use "bundle install -…

…-binstubs"
  • Loading branch information...
1 parent d967afb commit 3a05d1d5addc43f6cfb2abb5d31d3bc51d30bd25 @justinko justinko committed Feb 8, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. 0 {bin → exe}/mutate
  3. +2 −1 mutant.gemspec
View
@@ -6,3 +6,4 @@ pkg/*
tmp
*.rbx
*.rbc
+bin
File renamed without changes.
View
@@ -15,7 +15,8 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- spec/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.bindir = 'exe'
+ s.executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_development_dependency 'rake'

2 comments on commit 3a05d1d

Owner

txus commented on 3a05d1d Feb 8, 2012

Oh nice trick!

Collaborator

justinko replied Feb 8, 2012

You can specify the binstubs directory too: bundle install --binstubs=exe, but I already have "bin" in my PATH :)

Please sign in to comment.