2010-08-02 12:06:21 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2011-01-16 23:58:24 +01:00
|
|
|
update:
|
2011-02-07 09:00:20 +01:00
|
|
|
# sapphire master
|
|
|
|
if [ -d $(CURDIR)/src/sapphire_master ]; then cd $(CURDIR)/src/sapphire_master; git pull; else git clone git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_master; fi
|
|
|
|
# sapphire 2.4
|
|
|
|
if [ -d $(CURDIR)/src/sapphire_2.4 ]; then cd $(CURDIR)/src/sapphire_2.4; git pull; else git clone --branch 2.4 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_2.4; fi
|
|
|
|
# sapphire 2.3
|
|
|
|
if [ -d $(CURDIR)/src/sapphire_2.3 ]; then cd $(CURDIR)/src/sapphire_2.3; git pull; else git clone --branch 2.3 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_2.3; fi
|
2011-07-04 08:29:57 +02:00
|
|
|
|
2011-02-07 09:00:20 +01:00
|
|
|
# build index
|
2011-01-16 23:58:24 +01:00
|
|
|
cd $(CURDIR); php sapphire/cli-script.php dev/tasks/RebuildLuceneDocsIndex flush=1
|
|
|
|
|
2010-08-02 12:06:21 +02:00
|
|
|
test:
|
2011-01-17 22:03:37 +01:00
|
|
|
$(MAKE) QUERYSTRING="$(QUERYSTRING)&SkipTests=RestfulServiceTest" -C sapphire test
|
2010-08-02 12:06:21 +02:00
|
|
|
|
|
|
|
getallmodules:
|
|
|
|
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 cmsworkflow ]; then svn update cmsworkflow; else svn co http://svn.silverstripe.com/open/modules/cmsworkflow/trunk cmsworkflow; fi
|
|
|
|
if [ -d forum ]; then svn update forum; else svn co http://svn.silverstripe.com/open/modules/forum/trunk forum; fi
|
|
|
|
if [ -d genericdataadmin ]; then svn update genericdataadmin; else svn co http://svn.silverstripe.com/open/modules/genericdataadmin/trunk genericdataadmin; fi
|
|
|
|
if [ -d multiform ]; then svn update multiform; else svn co http://svn.silverstripe.com/open/modules/multiform/trunk multiform; fi
|
|
|
|
if [ -d subsites ]; then svn update subsites; else svn co http://svn.silverstripe.com/open/modules/subsites/trunk subsites; fi
|
2011-01-19 05:03:50 +01:00
|
|
|
if [ -d userforms ]; then svn update userforms; else svn co http://svn.silverstripe.com/open/modules/userforms/trunk userforms; fi
|