A new build system for SugarCRM
curl -L http://h2ik.co/rome/rome-`uname -s`-`uname -m` -o /usr/local/bin/rome; chmod +x /usr/local/bin/rome
To update rome, just run rome self-update
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
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
Make sure that you have golang installed
make clean; make -e VERSION=2.0.0AlphaX
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