Rakefile in sixword-0.0.1 vs Rakefile in sixword-0.1.0
- old
+ new
@@ -1,15 +1,30 @@
require 'bundler/gem_tasks'
+require 'bundler/setup'
+require 'rspec/core/rake_task'
+
+task :default do
+ sh 'rake -T'
+end
+
+RSpec::Core::RakeTask.new(:spec)
+
+def alias_task(alias_task, original)
+ desc "Alias for rake #{original}"
+ task alias_task, Rake.application[original].arg_names => original
+end
+alias_task(:test, :spec)
+