Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated makefile for easier editing.

  • Loading branch information...
commit d924277c5326b87f4a90900b3d31aa8b322bb593 1 parent 78850c0
@balupton balupton authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 Makefile
View
12 Makefile
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.