mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-08 00:32:15 +02:00
Fix Composer version constraint
“~1.0.*” results in a Composer throwing an UnexpectedValueException
This commit is contained in:
parent
ac36fb29d5
commit
13fbe3e2dd
|
@ -20,7 +20,7 @@ Simply add the following dependency to your project’s composer.json file:
|
|||
```js
|
||||
"require-dev": {
|
||||
// ...
|
||||
"andres-montanez/magallanes": "~1.0.*"
|
||||
"andres-montanez/magallanes": "~1.0"
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
@ -39,7 +39,7 @@ $ bin/mage version
|
|||
### System-wide installation with composer ###
|
||||
|
||||
```bash
|
||||
$ composer global require "andres-montanez/magallanes=~1.0.*"
|
||||
$ composer global require "andres-montanez/magallanes=~1.0"
|
||||
```
|
||||
|
||||
Make sure you have ~/.composer/vendor/bin/ in your path.
|
||||
|
|
Loading…
Reference in a new issue