Skip to content

tomslabs/bestofmedia-phpcs

Repository files navigation

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

About

Symfony Coding Standards Sniffs for PHP_CodeSniffer

Resources

License

Stars

Watchers

Forks

Packages

No packages published