Skip to content

jwhitcraft/rome

Repository files navigation

rome

A new build system for SugarCRM Build Status

Installing

curl -L http://h2ik.co/rome/rome-`uname -s`-`uname -m` -o /usr/local/bin/rome; chmod +x /usr/local/bin/rome

Updating

To update rome, just run rome self-update

Usage

Build

This command will build all the files inside of the source directory

rome build --version=7.9.0.0 --flavor=ent --destination=/tmp/sugar-build /path/to/mango/checkout/sugarcrm

more info

Watch

This command will keep a process running and build each file as it's created or modified (experimental!)

rome watch --version=7.9.0.0 --flavor=ent --destination=/tmp/sugar-build /path/to/mango/checkout/sugarcrm

more info

Help

View the full help here

Building Rome

Make sure that you have golang installed

make clean; make -e VERSION=2.0.0AlphaX

docker

Build the docker image:

docker build -t registry.sugarcrm.net/rome:latest .

Generate a build using the docker image and volume mounts:

docker run -it --rm -v /path/to/mango/sugarcrm:/sugarcrm -v /tmp/sugarcrm-build:/sugarcrm-build --name rome registry.sugarcrm.net/rome:latest go-wrapper run build /sugarcrm -d /sugarcrm-build -f ent -v 7.8.0.0