Permalink
Browse files

[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
  • Loading branch information...
igorw committed Apr 8, 2012
1 parent fe3c17f commit 72d3c19e7173ec814487411f46bacc9fac7597de
Showing with 6 additions and 2 deletions.
  1. +6 −2 composer.json
View
@@ -4,8 +4,7 @@
"description": "Twig, the flexible, fast, and secure template language for PHP",
"keywords": ["templating"],
"homepage": "http://twig.sensiolabs.org",
- "version": "1.7.0",
- "license": "BSD",
+ "license": "BSD-3",
"authors": [
{
"name": "Fabien Potencier",
@@ -23,5 +22,10 @@
"psr-0" : {
"Twig_" : "lib/"
}
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.7-dev"
+ }
}
}

0 comments on commit 72d3c19

Please sign in to comment.