Comment by leftnode
15 years ago
I use Phing to download whatever version I want during build time and to place it in a lib/vendors/ directory. So, for example I use pieces of Zend and the Google AdWords PHP SDK with my recent project, so in a build.settings file, I have:
google_adwords_version=2.6.4 zend_framework_version=1.11.6
Then, Phing will read in that file and convert those to properties. From there, I can wget the versions of those packages, untar them, and place them in lib/vendors/.
This makes it very simple to test with a newer version. Just update the file and rebuild and a newer version will be downloaded and installed.
No comments yet
Contribute on Hacker News ↗