2011-01-16 23:58:24 +01:00
|
|
|
update:
|
2012-09-05 11:43:50 +02:00
|
|
|
@echo "Cleaning up existing folders..";
|
|
|
|
@if [ -d $(CURDIR)/src/sapphire_master ]; then rm -rf $(CURDIR)/src/sapphire_master; fi
|
2012-04-16 08:05:06 +02:00
|
|
|
|
2012-09-05 11:43:50 +02:00
|
|
|
@echo "Checking out SilverStripe (Framework)..";
|
2012-09-09 08:00:23 +02:00
|
|
|
@if [ -d $(CURDIR)/src/framework ]; then cd $(CURDIR)/src/framework; git pull -q; else git clone --depth=100 -q git://github.com/silverstripe/sapphire.git $(CURDIR)/src/framework; fi
|
2012-04-16 08:05:06 +02:00
|
|
|
|
2012-09-05 11:43:50 +02:00
|
|
|
@echo "-- master";
|
|
|
|
@if [ -d $(CURDIR)/src/framework_master ]; then cd $(CURDIR)/src/framework_master; git pull -q; else cp -R $(CURDIR)/src/framework $(CURDIR)/src/framework_master; cd $(CURDIR)/src/framework_master; git pull -q; fi
|
2012-06-20 17:45:48 +02:00
|
|
|
|
2012-09-05 11:43:50 +02:00
|
|
|
@echo "-- 3.0";
|
|
|
|
@if [ -d $(CURDIR)/src/framework_3.0 ]; then cd $(CURDIR)/src/framework_3.0; git pull -q; else cp -R $(CURDIR)/src/framework $(CURDIR)/src/framework_3.0; cd $(CURDIR)/src/framework_3.0; git pull -q; fi
|
2012-04-16 08:05:06 +02:00
|
|
|
|
2012-09-05 11:43:50 +02:00
|
|
|
@echo "-- 2.4";
|
|
|
|
@if [ -d $(CURDIR)/src/framework_2.4 ]; then cd $(CURDIR)/src/framework_2.4; git pull -q; else cp -R $(CURDIR)/src/framework $(CURDIR)/src/framework_2.4; cd $(CURDIR)/src/framework_2.4; git pull -q; fi
|
2011-07-04 08:29:57 +02:00
|
|
|
|
2012-09-05 11:43:50 +02:00
|
|
|
@echo "-- 2.3";
|
|
|
|
@if [ -d $(CURDIR)/src/framework_2.3 ]; then cd $(CURDIR)/src/framework_2.3; git pull -q; else cp -R $(CURDIR)/src/framework $(CURDIR)/src/framework_2.3; cd $(CURDIR)/src/framework_2.3; git pull -q; fi
|
|
|
|
|
|
|
|
@echo "Building index";
|
|
|
|
@cd $(CURDIR); php framework/cli-script.php dev/tasks/RebuildLuceneDocsIndex flush=1
|
2011-01-16 23:58:24 +01:00
|
|
|
|
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
|
|
|
|