开发者

phing parameters

开发者 https://www.devze.com 2023-01-12 17:33 出处:网络
for deployment, we use the awesome tool P开发者_StackOverflowHING. We\'d like to be able to pass a parameter to the \"phing\" command when deploying, like this:

for deployment, we use the awesome tool P开发者_StackOverflowHING. We'd like to be able to pass a parameter to the "phing" command when deploying, like this:

phing 1.1.1

-> we would like to capture 1.1.1 inside the phing build script to extract a certain SVN TAG from our repository and move that tag to production.

Is that something that's possible?


phing has a PromptTask that ask for information like this.

solved!


You can use

phing -Dversion=1.1.1 -Dparam=value

see https://www.phing.info/trac/ticket/175

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号