lib/nake/tasks/spec.rb in nake-0.0.2 vs lib/nake/tasks/spec.rb in nake-0.0.3.pre
- old
+ new
@@ -1,10 +1,10 @@
# encoding: utf-8
# ./tasks.rb spec/nake/argv_spec.rb spec/nake/task_spec.rb
task(:spec) do |*paths, options|
paths.push("spec") if paths.empty?
- exec "spec #{paths.join(" ")}"
+ sh "spec #{paths.join(" ")}"
end
Task.new("spec:stubs") do |task|
task.description = "Create stubs of all library files."
task.define do