Skip to content

tomslabs/bestofmedia-phpmd

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 ?

Prepare changelogs.

./src/main/resources/extensions/changes/changelog.php
ant changes:log changes:manifest
ant scm:commit -Dscm.message=""

Then hit the red button.

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages