Permalink
Browse files

Remove settings about executables

 * Definitions and settings about executables are removed because
   all files in bin/ have been moved to separate gem packages
   (bio-shell and bio-executables).
  • Loading branch information...
1 parent b5a8d38 commit c89c40c29c3c92f8e548c79d2d04698123559007 @ngoto ngoto committed Sep 15, 2017
Showing with 1 addition and 33 deletions.
  1. +0 −13 bioruby.gemspec
  2. +1 −20 bioruby.gemspec.erb
View
@@ -30,10 +30,6 @@ Gem::Specification.new do |s|
"RELEASE_NOTES.rdoc",
"Rakefile",
"appveyor.yml",
- "bin/br_biofetch.rb",
- "bin/br_bioflat.rb",
- "bin/br_biogetseq.rb",
- "bin/br_pmfetch.rb",
"bioruby.gemspec",
"bioruby.gemspec.erb",
"doc/ChangeLog-1.4.3",
@@ -594,13 +590,4 @@ Gem::Specification.new do |s|
s.rdoc_options << '--line-numbers' << '--inline-source'
s.require_path = 'lib'
-
- s.bindir = "bin"
- s.executables = [
- "br_biofetch.rb",
- "br_bioflat.rb",
- "br_biogetseq.rb",
- "br_pmfetch.rb"
- ]
- s.default_executable = "bioruby"
end
View
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
"bioruby.gemspec", "setup.rb",
"extconf.rb", "LEGAL",
"COPYING", "COPYING.ja", "GPL", "LGPL"
- ] + Dir.glob("{bin,doc,etc,gemfiles,lib,sample,test}/**/*").delete_if do |item|
+ ] + Dir.glob("{doc,etc,gemfiles,lib,sample,test}/**/*").delete_if do |item|
case item
when /(\A|\/)CVS(\z|\/)/, /(\A|\/)rdoc(\z|\/)/, /\~\z/
true
@@ -90,23 +90,4 @@ Gem::Specification.new do |s|
s.rdoc_options << '--line-numbers' << '--inline-source'
s.require_path = 'lib'
-
- s.bindir = "bin"
- s.executables = [
- <%= ###### Below is executed in ERB environment ######
- # Files in bin/ directory are selected.
- exec_files = files.find_all { |item| /\Abin\// =~ item }
- # Non-executable files are removed from the list.
- exec_files.delete_if { |item| !File.executable?(item) }
- # strip "bin/"
- exec_files.collect! { |item| item.sub(/\Abin\//, '') }
- # Fail safe settings
- if exec_files.empty? then
- exec_files = [ "bioruby", "br_biofetch.rb", "br_biogetseq.rb", "br_bioflat.rb", "br_pmfetch.rb" ]
- end
- exec_files.sort.collect { |x| x.dump }.join(",\n ")
- ###### Above is executed in ERB environment ######
- %>
- ]
- s.default_executable = "bioruby"
end

0 comments on commit c89c40c

Please sign in to comment.