Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 980 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 980 Bytes

Ant Build Commons are nice but not documented.

How to build and install a package ?

ant clean package
sudo pear upgrade --alldeps build/dist/PHP_CodeSniffer_Standards_BestOfMedia-X.Y.Zsnapshot1234567890.tgz

How to configure remote host for Pirum ?

You need to store credential outside of the project in your home directory since we don't want to publish our credentials on GitHub.

Simply edit: ~/.ant-build-commons/global.properties

remote.shell.credentials = yourusername@yourremothostname
pirum.root = /path/to/yourpirumdir

Ensure that you can connect passwordlessly on pirum using: ssh yourusername@yourremothostname

You can use ssh-copy-id for that.

How to create a release ?

ant clean package:release pirum scm:tag

You can now start a new release version

ant clean version:version scm:commit -Dscm.message="New version"

How to create a snapshot and release it ?

ant clean package pirum