lib/teaspoon-devkit.rb in teaspoon-1.1.1 vs lib/teaspoon-devkit.rb in teaspoon-1.1.2
- old
+ new
@@ -68,9 +68,17 @@
end
end
end
if !loaded_from_teaspoon_root?
+ Rake::Task["release"].clear
+ end
+
+ desc "Build and push teaspoon-#{framework} to Rubygems\n"
+ task "release" => ["build", "release:guard_clean", "release:rubygem_push"] do
+ end
+
+ if !loaded_from_teaspoon_root?
Rake::Task["default"].prerequisites.clear
Rake::Task["default"].clear
task default: ["teaspoon:#{framework}:spec", "teaspoon:#{framework}:jsspec"]
end