Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Building

darylteo edited this page Dec 27, 2012 · 1 revision

To build the module from source, ensure that you have $VERTX_HOME set to your base Vert.x installation directory. For example:

On Unix:

export VERTX_HOME=/usr/lib/vert.x-1.3.0-final

Check your operating system for relevant instructions on setting your environment variables.

Next, use the provided Gradle build scripts to build and test the module.

./mk build

You can also immediately generate a distribution (.zip) by running the release task. The zip will be generated in "build/distributions/", and will be called mod-promises-vX.X.zip.

./mk release

To build a mod.zip that can be distributed via a repository, run the dist task:

./mk dist

To just run tests, you can run the test task.

./mk test

Be sure to update the version number in gradle.properties if you wish to it to be reflected in the distribution.

Clone this wiki locally