lib/marv/project/actions.rb in marv-0.6.0 vs lib/marv/project/actions.rb in marv-0.6.1
- old
+ new
@@ -75,10 +75,15 @@
@task.shell.mute do
@task.empty_directory @project.build_path
end
end
- @task.create_link @link_target, @project.build_path
+ begin
+ @task.create_link @link_target, @project.build_path
+ rescue Exception => e
+ @task.say "An error occured while creating project link", :red
+ @task.say e.message
+ end
end
# Create package
def create_package
create_package_dir