bin/ncbi-blast-dbs in ncbi-blast-dbs-0.0.6 vs bin/ncbi-blast-dbs in ncbi-blast-dbs-0.0.7

- old
+ new

@@ -1,13 +1,20 @@ #!/usr/bin/env ruby require 'rake' -import "#{File.dirname(__FILE__)}/../lib/ncbi-blast-dbs.rake" trap :INT do puts "Quitting ..." exit! end -Rake.application.init 'ncbi-blast-dbs' -Rake.application.load_imports -Rake.application.top_level +if ARGV.include? "http"; + import "#{File.dirname(__FILE__)}/../lib/http-ncbi-blast-dbs.rake" + Rake.application.init 'http-ncbi-blast-dbs' + Rake.application.load_imports + Rake.application.top_level +else; + import "#{File.dirname(__FILE__)}/../lib/ncbi-blast-dbs.rake" + Rake.application.init 'ncbi-blast-dbs' + Rake.application.load_imports + Rake.application.top_level +end