2011-01-16 22:58:24 +00:00
|
|
|
update:
|
2012-04-16 06:05:06 +00: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
|
|
|
|
|
2011-02-07 08:00:20 +00:00
|
|
|
# sapphire 2.4
|
2012-01-09 04:52:10 +00: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 06:05:06 +00:00
|
|
|
|
2011-02-07 08:00:20 +00:00
|
|
|
# sapphire 2.3
|
2012-01-09 04:52:10 +00: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 06:29:57 +00:00
|
|
|
|
2011-02-07 08:00:20 +00:00
|
|
|
# build index
|
2011-01-16 22:58:24 +00:00
|
|
|
cd $(CURDIR); php sapphire/cli-script.php dev/tasks/RebuildLuceneDocsIndex flush=1
|
|
|
|
|
2010-08-02 10:06:21 +00:00
|
|
|
test:
|
2011-01-17 21:03:37 +00:00
|
|
|
$(MAKE) QUERYSTRING="$(QUERYSTRING)&SkipTests=RestfulServiceTest" -C sapphire test
|
2010-08-02 10:06:21 +00:00
|
|
|
|