mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-20 14:46:34 +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
|
```js
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
// ...
|
// ...
|
||||||
"andres-montanez/magallanes": "~1.0.*"
|
"andres-montanez/magallanes": "~1.0"
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -39,7 +39,7 @@ $ bin/mage version
|
||||||
### System-wide installation with composer ###
|
### System-wide installation with composer ###
|
||||||
|
|
||||||
```bash
|
```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.
|
Make sure you have ~/.composer/vendor/bin/ in your path.
|
||||||
|
|
Loading…
Reference in a new issue