mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
21 lines
460 B
Makefile
21 lines
460 B
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.
|
||
|
#
|
||
|
|
||
|
install: mysite/_config.php
|
||
|
|
||
|
mysite/_config.php:
|
||
|
php install.php install SS_testdatabase
|
||
|
|
||
|
|
||
|
test: clean install
|
||
|
$(MAKE) -C sapphire test
|
||
|
|
||
|
clean:
|
||
|
if [ -f .htaccess ]; then rm .htaccess; fi
|
||
|
touch .htaccess
|
||
|
if [ -f mysite/_config.php ]; then rm mysite/_config.php; fi
|