Skip to content

Commit

Permalink
Now checks for config.php to exist before building the rest
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Chernyshev committed Feb 6, 2011
1 parent 97c0a65 commit 40ec7a7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
all: updatecode updateusers assets updatedb
all: checkconfig updatecode updateusers assets updatedb

checkconfig:
ifeq "$(wildcard config.php)" ""
@echo =
@echo = You must create config.php file first
@echo = Start by copying config.sample.php
@echo =
@exit 1
endif

updatecode:
ifneq "$(wildcard .git )" ""
Expand Down

0 comments on commit 40ec7a7

Please sign in to comment.