1
0
Fork 0

Merge pull request #4455 from samsaggace/config_archive

Enable command line configuration for archive-dir and archive-format
pull/4490/head
Rob 2015-10-07 12:05:33 +02:00
commit 7a9eb02190
2 changed files with 3 additions and 1 deletions

View File

@ -162,7 +162,7 @@ Example:
```json ```json
{ {
"config": { "config": {
"bin-dir": "bin" "archive-dir": "/home/user/.composer/repo"
} }
} }
``` ```

View File

@ -295,6 +295,8 @@ EOT
'notify-on-install' => array($booleanValidator, $booleanNormalizer), 'notify-on-install' => array($booleanValidator, $booleanNormalizer),
'vendor-dir' => array('is_string', function ($val) { return $val; }), 'vendor-dir' => array('is_string', function ($val) { return $val; }),
'bin-dir' => array('is_string', function ($val) { return $val; }), 'bin-dir' => array('is_string', function ($val) { return $val; }),
'archive-dir' => array('is_string', function ($val) { return $val; }),
'archive-format' => array('is_string', function ($val) { return $val; }),
'cache-dir' => array('is_string', function ($val) { return $val; }), 'cache-dir' => array('is_string', function ($val) { return $val; }),
'cache-files-dir' => array('is_string', function ($val) { return $val; }), 'cache-files-dir' => array('is_string', function ($val) { return $val; }),
'cache-repo-dir' => array('is_string', function ($val) { return $val; }), 'cache-repo-dir' => array('is_string', function ($val) { return $val; }),