bin/ncbi-blast-dbs in ncbi-blast-dbs-0.0.2 vs bin/ncbi-blast-dbs in ncbi-blast-dbs-0.0.3
- old
+ new
@@ -1,5 +1,13 @@
#!/usr/bin/env ruby
require 'rake'
-import "#{__dir__}/../lib/ncbi-blast-dbs.rake"
-app = Rake.application; app.init; app.load_imports; app.top_level
+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