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

@@ -5,8 +5,6 @@
Smarty packages are now on github and can be installed with Composer. 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. The "smarty/smarty" package will start at libs/.... subfolder.
To get the latest stable version of Smarty 3.1 use To get the latest stable version of Smarty 3.1 use
@@ -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 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": { "support": {
"irc": "irc://irc.freenode.org/smarty", "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/" "forum": "http://www.smarty.net/forums/"
}, },
"require": { "require": {
"php": ">=5.2" "php": ">=5.2"
}, },
"require-dev": {
"smarty/smarty-phpunit": "~3.1@dev",
"smarty/smarty-lexer": "~3.1@dev"
},
"autoload": { "autoload": {
"classmap": [ "classmap": [
"libs/Smarty.class.php", "libs/Smarty.class.php",