Rename monad to maybe. Add rename package instructions to readme.
This commit is contained in:
parent
93531a4f47
commit
505a05f19d
2 changed files with 31 additions and 0 deletions
27
README.md
27
README.md
|
|
@ -30,3 +30,30 @@ Your packages may be removed if the url stops working. It goes without saying
|
||||||
that your pull request will not be accepted unless you fill out all of the
|
that your pull request will not be accepted unless you fill out all of the
|
||||||
above required fields correctly, the package that ``url`` points to must also
|
above required fields correctly, the package that ``url`` points to must also
|
||||||
contain a .nimble file, or else it will be rejected.
|
contain a .nimble file, or else it will be rejected.
|
||||||
|
|
||||||
|
## Renaming packages
|
||||||
|
|
||||||
|
To rename a package you will need to add a new entry for your package. Simply
|
||||||
|
perform the following steps:
|
||||||
|
|
||||||
|
* Duplicate your package's current entry.
|
||||||
|
* Remove every field in one of the entries apart from the `name` field.
|
||||||
|
* Add an `alias` field to that entry.
|
||||||
|
* Change the name in the other package entry.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
...
|
||||||
|
{
|
||||||
|
"name": "myoldname",
|
||||||
|
"alias": "mynewname"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mynewname",
|
||||||
|
"url": "...",
|
||||||
|
"method": "git",
|
||||||
|
...
|
||||||
|
},
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
@ -1591,6 +1591,10 @@
|
||||||
"license": "OpenSSL License and SSLeay License",
|
"license": "OpenSSL License and SSLeay License",
|
||||||
"web": "https://github.com/cowboy-coders/nim-openssl-evp"
|
"web": "https://github.com/cowboy-coders/nim-openssl-evp"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "monad",
|
||||||
|
"alias": "maybe"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "maybe",
|
"name": "maybe",
|
||||||
"url": "https://github.com/superfunc/maybe",
|
"url": "https://github.com/superfunc/maybe",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue