Skip to content

Build script and release process

rlouapre edited this page Nov 20, 2014 · 3 revisions

xquerrail2.framework uses gulp to build / release

Use Roxy to setup xquerrail2.framework

Update ./deploy/local.properties or keep the default and only provide admin password from command line:
./ml local bootstrap --ml.password=xxx

Build commands

Credentials can be defined in ./ml.json (Just copy ./ml.json.sample) or provided in the command line: ./gulp --ml.password=xxxx --ml.user=admin --ml.host=localhost --ml.port=9305

Run gulp bump to increase version
Run gulp to create a new dist (including running all tests)
Run gulp clean to delete dist directory
Run gulp update-xqy to create a new dist (but excludes all tests)
Run gulp watch-update-xqy to watch changes in *.xqy files and update them in dist

Instructions for release

Execute gulp to generate /dist
Update .gitignore to include /dist
git push
git tag -a v{version} -m "Release {version}"
git push --tags
gulp bump to increase version
Update .gitignore to exclude /dist
gulp clean
git push

Clone this wiki locally