mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@122506 467b73ca-7a2a-4603-9d3b-597d59a354a9
20 lines
1012 B
Makefile
20 lines
1012 B
Makefile
update:
|
|
# remove any existing sapphire master locations, as we renamed from sapphire to framework
|
|
if [ -d $(CURDIR)/src/sapphire_master ]; then rm -rf $(CURDIR)/src/sapphire_master; fi
|
|
|
|
# framework master
|
|
if [ -d $(CURDIR)/src/framework_master ]; then cd $(CURDIR)/src/framework_master; git pull -q; else git clone -q git://github.com/silverstripe/sapphire.git $(CURDIR)/src/framework_master; fi
|
|
|
|
# sapphire 2.4
|
|
if [ -d $(CURDIR)/src/sapphire_2.4 ]; then cd $(CURDIR)/src/sapphire_2.4; git pull -q; else git clone -q --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 -q; else git clone -q --branch 2.3 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_2.3; fi
|
|
|
|
# build index
|
|
cd $(CURDIR); php sapphire/cli-script.php dev/tasks/RebuildLuceneDocsIndex flush=1
|
|
|
|
test:
|
|
$(MAKE) QUERYSTRING="$(QUERYSTRING)&SkipTests=RestfulServiceTest" -C sapphire test
|
|
|