gx + package.json

This commit is contained in:
Wigy 2016-12-23 20:53:54 +01:00
parent e8d4b720f1
commit 1a9dc324d8
No known key found for this signature in database
GPG Key ID: AFF11C67C4E13357
3 changed files with 34 additions and 3 deletions

View File

@ -13,8 +13,11 @@
## Installation
You need go, gx and gx-go installed as a prerequisite. See http://github.com/ipfs/go-ipfs/ on how to install these.
```
$ go get github.com/whyrusleeping/ipfs-key
$ go get -d github.com/whyrusleeping/ipfs-key
$ gx install
```
## Usage

View File

@ -6,8 +6,8 @@ import (
"os"
"strings"
ci "github.com/libp2p/go-libp2p-crypto"
peer "github.com/libp2p/go-libp2p-peer"
peer "gx/ipfs/QmfMmLGoKzCHDN7cGgk64PJr4iipzidDRME8HABSJqvmhC/go-libp2p-peer"
ci "gx/ipfs/QmfWDLQjGjVe4fr5CoztYW2DYYjRysMJrFe1RCsXLPTf46/go-libp2p-crypto"
)
func main() {

28
package.json Normal file
View File

@ -0,0 +1,28 @@
{
"author": "whyrusleeping",
"bugs": {
"url": "https://github.com/whyrusleeping/ipfs-key/issues"
},
"gx": {
"dvcsimport": "github.com/whyrusleeping/ipfs-key"
},
"gxDependencies": [
{
"hash": "QmfWDLQjGjVe4fr5CoztYW2DYYjRysMJrFe1RCsXLPTf46",
"name": "go-libp2p-crypto",
"version": "1.3.1"
},
{
"hash": "QmfMmLGoKzCHDN7cGgk64PJr4iipzidDRME8HABSJqvmhC",
"name": "go-libp2p-peer",
"version": "2.1.0"
}
],
"gxVersion": "0.10.0",
"language": "go",
"license": "MIT",
"name": "ipfs-key",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.1.0"
}