Permalink
Browse files

Updated makefile for easier editing.

  • Loading branch information...
balupton committed Jan 2, 2011
1 parent 78850c0 commit d924277c5326b87f4a90900b3d31aa8b322bb593
Showing with 10 additions and 2 deletions.
  1. +10 −2 Makefile
View
@@ -5,6 +5,8 @@ DIRDOCS = docs
DIRTESTS = tests
DIRLIB = lib
VERSION = v1.0
PHPDOC = phpdoc -t $(DIRDOCS) -o HTML:default:default -d $(DIRLIB)
PHPUNIT = cd $(DIRTESTS); phpunit --configuration phpunit.xml --verbose; cd ..;
@@ -16,9 +18,15 @@ docs:
rm -Rf $(DIRDOCS)/*
$(PHPDOC)
dev:
git checkout dev;
stable:
git checkout $(VERSION);
doc:
open $(DIRDOCS)/index.html
tests:
rm -Rf $(DIRTESTS)/log/*
mkdir $(DIRTESTS)/log/report
@@ -31,4 +39,4 @@ add:
git add .gitignore .htaccess * ;
deploy:
git checkout v1.0; git merge dev; git checkout master; git merge v1.0; git checkout dev; git push --all;
git checkout $(VERSION); git merge dev; git checkout master; git merge $(VERSION); git checkout dev; git push --all;

0 comments on commit d924277

Please sign in to comment.