Skip to content

Commit 3805f78

Browse files
committed
add default files for new repo
1 parent 41df9f7 commit 3805f78

File tree

5 files changed

+78
-0
lines changed

5 files changed

+78
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.swp

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
os:
2+
- linux
3+
- osx
4+
5+
language: go
6+
7+
go:
8+
- 1.6.3
9+
10+
install: true
11+
12+
script:
13+
- make deps
14+
- gx-go rewrite
15+
- go get github.com/mattn/goveralls
16+
- goveralls -service=travis-ci
17+
18+
cache:
19+
directories:
20+
- $GOPATH/src/gx

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2016 Juan Batiz-Benet
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
test: deps
2+
go test -race -v ./...
3+
4+
export IPFS_API ?= v04x.ipfs.io
5+
6+
gx:
7+
go get -u github.com/whyrusleeping/gx
8+
go get -u github.com/whyrusleeping/gx-go
9+
10+
deps: gx
11+
gx --verbose install --global
12+
gx-go rewrite
13+
go get -t ./...
14+

package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"author": "whyrusleeping",
3+
"bugs": {
4+
"url": "https://github.com/ipfs/go-ds-measure"
5+
},
6+
"gx": {
7+
"dvcsimport": "github.com/ipfs/go-ds-measure"
8+
},
9+
"gxDependencies": [
10+
{
11+
"author": "codahale",
12+
"hash": "QmV3NSS3A1kX5s28r7yLczhDsXzkgo65cqRgKFXYunWZmD",
13+
"name": "metrics",
14+
"version": "0.0.0"
15+
}
16+
],
17+
"gxVersion": "0.8.0",
18+
"language": "go",
19+
"license": "",
20+
"name": "go-ds-measure",
21+
"version": "0.0.0"
22+
}

0 commit comments

Comments
 (0)