[composer] Add branch alias for dev-master, adjust some other things

* branch alias allows installation of dev-master by requiring 1.7.*, which is important since most packages depend on twig "<2.0.0"
* remove the version field, the version is determined by branch names and tags only
* change license to BSD-3, this is more explicit and the preferred format for BSD licenses
This commit is contained in:
Igor Wiedler
2012-04-08 14:07:23 +02:00
parent fe3c17f51f
commit 72d3c19e71
+6 -2
View File
@@ -4,8 +4,7 @@
"description": "Twig, the flexible, fast, and secure template language for PHP", "description": "Twig, the flexible, fast, and secure template language for PHP",
"keywords": ["templating"], "keywords": ["templating"],
"homepage": "http://twig.sensiolabs.org", "homepage": "http://twig.sensiolabs.org",
"version": "1.7.0", "license": "BSD-3",
"license": "BSD",
"authors": [ "authors": [
{ {
"name": "Fabien Potencier", "name": "Fabien Potencier",
@@ -23,5 +22,10 @@
"psr-0" : { "psr-0" : {
"Twig_" : "lib/" "Twig_" : "lib/"
} }
},
"extra": {
"branch-alias": {
"dev-master": "1.7-dev"
}
} }
} }