Skip to content

Commit

Permalink
Fix zend version in makefile, add install target and fix zend target
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Oct 27, 2015
1 parent 45b69ff commit c5046eb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ZENDVERSION=1.11.5
ZENDVERSION=1.12.9

default:
@echo "please use:"
Expand Down Expand Up @@ -39,7 +39,9 @@ default:
@echo " CHECKPATH=<path> (run code checking on specific relative path)"
@echo " SNIFFS=<sniff 1>,<sniff 2> (run code checking on specific sniffs)"
@echo " OPTIONS=<option> (run code checking with specific CodeSniffer options)"


install: directories zend

clean:
rm -rf cache/* logs/*

Expand All @@ -48,7 +50,7 @@ directories: clean
chmod 777 logs cache

zend:
rm -rf libraries/Zend
rm -rf library/Zend
curl -L -# -O https://packages.zendframework.com/releases/ZendFramework-${ZENDVERSION}/ZendFramework-${ZENDVERSION}-minimal.tar.gz || wget https://packages.zendframework.com/releases/ZendFramework-${ZENDVERSION}/ZendFramework-${ZENDVERSION}-minimal.tar.gz
tar xzf ZendFramework-${ZENDVERSION}-minimal.tar.gz
mv ZendFramework-${ZENDVERSION}-minimal/library/Zend library
Expand Down

0 comments on commit c5046eb

Please sign in to comment.