문제

for deployment, we use the awesome tool PHING. 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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top