mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
85c97e8bed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@55083 467b73ca-7a2a-4603-9d3b-597d59a354a9
22 lines
511 B
Makefile
22 lines
511 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.
|
|
#
|
|
|
|
suffix=`basename \`dirname \\\`pwd\\\`\``
|
|
|
|
install: mysite/_config.php
|
|
|
|
mysite/_config.php:
|
|
php install.php install SS_testdatabase_${suffix}
|
|
|
|
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
|