2011-01-16 23:58:24 +01:00
|
|
|
update:
|
2012-04-16 08:05:06 +02:00
|
|
|
# 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
|
|
|
|
|
2012-06-20 17:44:33 +02:00
|
|
|
# sapphire 3.0
|
|
|
|
if [ -d $(CURDIR)/src/sapphire_3.0 ]; then cd $(CURDIR)/src/sapphire_3.0; git pull -q; else git clone -q --branch 3.0 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_3.0; fi
|
|
|
|
|
2011-02-07 09:00:20 +01:00
|
|
|
# sapphire 2.4
|
2012-01-09 05:52:10 +01:00
|
|
|
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
|
2012-04-16 08:05:06 +02:00
|
|
|
|
2011-02-07 09:00:20 +01:00
|
|
|
# sapphire 2.3
|
2012-01-09 05:52:10 +01:00
|
|
|
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
|
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
|
|
|
|