Rakefile in csl-1.0.2 vs Rakefile in csl-1.1.0
- old
+ new
@@ -16,12 +16,13 @@
desc 'Run an IRB session with CSL loaded'
task :console, [:script] do |t,args|
ARGV.clear
require 'irb'
+ require 'irb/completion'
require 'csl'
-
+
IRB.conf[:SCRIPT] = args.script
IRB.start
end
require 'rspec/core'
@@ -32,9 +33,13 @@
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber) do |t|
t.profile = 'default'
end
+
+require 'coveralls/rake/task'
+Coveralls::RakeTask.new
+task :test_with_coveralls => [:spec, :cucumber, 'coveralls:push']
task :release do |t|
system "gem build csl.gemspec"
system "git tag #{CSL::VERSION}"
system "git push --tags"