silverstripe-installer/Makefile
sminnee 71531e8231 ENHANCEMENT: Added 'make getallmodules' to help developers run allmodules tests locally
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@90091 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-26 21:26:00 +00:00

26 lines
2.1 KiB
Makefile

#
# This makefile is a secondary way of installing SilverStripe.
# It is used for things like continuous integration
#
# Most users should simply visit the site root in your web browser.
#
test:
php ./sapphire/cli-script.php dev/build flush=1
$(MAKE) -C sapphire test
getallmodules:
if [ -d ecommerce ]; then svn update ecommerce; else svn co http://svn.silverstripe.com/open/modules/ecommerce/trunk ecommerce; fi
if [ -d payment ]; then svn update payment; else svn co http://svn.silverstripe.com/open/modules/payment/trunk payment; fi
if [ -d subsites ]; then svn update subsites; else svn co http://svn.silverstripe.com/open/modules/subsites/trunk subsites; fi
if [ -d genericdataadmin ]; then svn update genericdataadmin; else svn co http://svn.silverstripe.com/open/modules/genericdataadmin/trunk genericdataadmin; fi
if [ -d forum ]; then svn update forum; else svn co http://svn.silverstripe.com/open/modules/forum/trunk forum; fi
if [ -d cmsworkflow ]; then svn update cmsworkflow; else svn co http://svn.silverstripe.com/open/modules/cmsworkflow/trunk cmsworkflow; fi
if [ -d multiform ]; then svn update multiform; else svn co http://svn.silverstripe.com/open/modules/multiform/trunk multiform; fi
if [ -d events ]; then svn update events; else svn co http://svn.silverstripe.com/open/modules/events/trunk events; fi
if [ -d auth_openid ]; then svn update auth_openid; else svn co http://svn.silverstripe.com/open/modules/auth_openid/trunk auth_openid; fi
if [ -d blog ]; then svn update blog; else svn co http://svn.silverstripe.com/open/modules/blog/trunk blog; fi
if [ -d gallery ]; then svn update gallery; else svn co http://svn.silverstripe.com/open/modules/gallery/trunk gallery; fi
if [ -d rssaggregator ]; then svn update rssaggregator; else svn co http://svn.silverstripe.com/open/modules/rssaggregator/trunk rssaggregator; fi
if [ -d sharethis ]; then svn update sharethis; else svn co http://svn.silverstripe.com/open/modules/sharethis/trunk sharethis; fi
if [ -d userforms ]; then svn update userforms; else svn co http://svn.silverstripe.com/open/modules/userforms/trunk userforms; fi