Skip to content

Commit

Permalink
Merge pull request #116 from ankurp/fix-build-script
Browse files Browse the repository at this point in the history
Fixing build script
  • Loading branch information
ankurp committed Nov 11, 2014
2 parents 6c22c2d + 8609c8c commit b2fd40f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dollar/Dollar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
shellScript = "";
shellScript = "ruby ${PROJECT_DIR}/gen_auto_curry.rb\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down
2 changes: 1 addition & 1 deletion Dollar/gen_auto_curry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ def curry_generator(n)
"}"
].join("\n\n")

File.open("/Users/ankur/Personal/Dollar.swift/Dollar/Dollar/AutoCurry.swift", "w") do |file|
File.open("#{File.dirname(__FILE__)}/Dollar/AutoCurry.swift", "w") do |file|
file.write(funcs)
end

0 comments on commit b2fd40f

Please sign in to comment.