-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend script phase DSL to support execution position #414
Extend script phase DSL to support execution position #414
Conversation
lib/cocoapods-core/podfile/dsl.rb
Outdated
@@ -368,6 +368,10 @@ def target(name, options = nil) | |||
# @option options [Boolean] :show_env_vars_in_log | |||
# whether this script phase should output the environment variables during execution. | |||
# | |||
# @option options [Symbol] :execution_placement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you like :execution_placement
? Would you prefer another word? I am not super happy but i cant find a better word.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
position
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've thought about it and re-thought about it again. I like it. Let's go with this instead.
3551b64
to
1550382
Compare
Updated to use |
6278f3d
to
ff97759
Compare
@parent.script_phases.should == [ | ||
{ :name => 'PhaseName', :script => 'echo "Hello World"', :shell_path => :'/usr/bin/ruby' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was wrong :'/usr/bin/ruby'
with the :
added. Fixed.
ff97759
to
d6518be
Compare
All green. |
0b8b9c1
to
fd031ca
Compare
fd031ca
to
4ef270f
Compare
@paulb777 I won't get into the habit of adding you as a reviewer. First of all thanks for your time on these and second it's only because you've reviewed the other PRs.