lib/shaddox/shadow_script.rb in shaddox-0.0.9 vs lib/shaddox/shadow_script.rb in shaddox-0.0.10
- old
+ new
@@ -28,10 +28,10 @@
# have been added to the script before adding itself. Tasks are only cast
# once to elimate redundency.
def cast(task_key)
task = @config.tasks[task_key]
if !task
- raise "The task :#{task_key} could not be found. Please check your Doxfile and try again."
+ raise "The task :#{task_key} could not be found. Please check your Doxfile and try again.".red
end
task.deps.each do |dep_key|
cast(dep_key) if !@cast_tasks.include? dep_key
end
@script += %Q{