Skip to content

Commit

Permalink
Fixing build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurp committed Nov 11, 2014
1 parent 6c22c2d commit 8609c8c
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 8609c8c

Please sign in to comment.