add require-dev to load PHPUnit tests and lxer/parser generator

This commit is contained in:
Uwe Tews
2015-05-04 05:20:22 +02:00
parent ea17aad266
commit f3d7b05ccb
2 changed files with 8 additions and 3 deletions

View File

@@ -4,8 +4,6 @@
*Read the NEW_FEATURES file for recent extensions to Smarty 3.1 functionality*
Smarty packages are now on github and can be installed with Composer.
**NOTE: Because of this change you must clear your local composer cache with the "composer clearcache" command**
The "smarty/smarty" package will start at libs/.... subfolder.
@@ -31,3 +29,6 @@ For a specific version use something like
}
Composer can also be used for Smarty2 versions 2.6.24 to 2.6.28
Starting with version 3.1.22 a "require-dev" section has been added in commposer.json
to load the PHPUnit test and the lexer/parser generator,

View File

@@ -21,12 +21,16 @@
],
"support": {
"irc": "irc://irc.freenode.org/smarty",
"issues": "http://code.google.com/p/smarty-php/issues/list",
"issues": "https://github.com/smarty-php/smarty/issues",
"forum": "http://www.smarty.net/forums/"
},
"require": {
"php": ">=5.2"
},
"require-dev": {
"smarty/smarty-phpunit": "~3.1@dev",
"smarty/smarty-lexer": "~3.1@dev"
},
"autoload": {
"classmap": [
"libs/Smarty.class.php",