mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
6d5aeca7f2
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@115671 467b73ca-7a2a-4603-9d3b-597d59a354a9
24 lines
1.6 KiB
Makefile
24 lines
1.6 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.
|
|
#
|
|
|
|
update:
|
|
if [ -d $(CURDIR)/src/github ]; then cd $(CURDIR)/src/github; git pull; else git clone git://github.com/chillu/silverstripe-doc-restructuring.git $(CURDIR)/src/github; fi
|
|
cd $(CURDIR); php sapphire/cli-script.php dev/tasks/RebuildLuceneDocsIndex flush=1
|
|
|
|
test:
|
|
$(MAKE) QUERYSTRING="$(QUERYSTRING)&SkipTests=RestfulServiceTest" -C sapphire test
|
|
|
|
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
|
|
if [ -d userforms ]; then svn update userforms; else svn co http://svn.silverstripe.com/open/modules/userforms/trunk userforms; fi
|