lib/gjp/script_generator.rb in gjp-0.36.0 vs lib/gjp/script_generator.rb in gjp-0.37.0
- old
+ new
@@ -40,10 +40,11 @@
new_content = script_lines.join("\n") + "\n"
script_name = "build.sh"
result_path = File.join("src", name, script_name)
- conflict_count = @project.merge_new_content(new_content, result_path, "Build script generated", "generate_#{name}_build_script")
+ conflict_count = @project.merge_new_content(new_content, result_path, "Build script generated",
+ "generate_#{name}_build_script")
destination_dir = File.join("output", name)
FileUtils.mkdir_p(destination_dir)
destination_script_path = File.join(destination_dir, script_name)
FileUtils.symlink(File.expand_path(result_path), destination_script_path, :force => true)