Skip to content

Commit

Permalink
Move go-billy to gopkg.in
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnavarro committed Mar 7, 2017
1 parent e06d27e commit 7ab77b7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ matrix:
- go: tip

install:
- rm -rf $GOPATH/src/srcd.works
- mkdir -p $GOPATH/src/srcd.works
- ln -s $PWD $GOPATH/src/srcd.works/go-billy.v1
- cd $GOPATH/src/srcd.works/go-billy.v1
- rm -rf $GOPATH/src/gopkg.in/src-d
- mkdir -p $GOPATH/src/gopkg.in/src-d
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-billy.v1
- cd $GOPATH/src/gopkg.in/src-d/go-billy.v1
- go get -v -t ./...

script:
- cd $GOPATH/src/srcd.works/go-billy.v1
- cd $GOPATH/src/gopkg.in/src-d/go-billy.v1
- go test -v ./...
- make test-coverage

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# go-billy [![GoDoc](https://godoc.org/srcd.works/go-billy.v1?status.svg)](https://godoc.org/srcd.works/go-billy.v1) [![Build Status](https://travis-ci.org/src-d/go-billy.svg)](https://travis-ci.org/src-d/go-billy) [![codebeat badge](https://codebeat.co/badges/03bdec03-b477-4472-bbe3-b552e3799174)](https://codebeat.co/projects/github-com-src-d-go-billy)
# go-billy [![GoDoc](https://godoc.org/gopkg.in/src-d/go-billy.v1?status.svg)](https://godoc.org/gopkg.in/src-d/go-billy.v1) [![Build Status](https://travis-ci.org/src-d/go-billy.svg)](https://travis-ci.org/src-d/go-billy) [![codebeat badge](https://codebeat.co/badges/03bdec03-b477-4472-bbe3-b552e3799174)](https://codebeat.co/projects/github-com-src-d-go-billy)

An interface to abstract several storages.

Expand All @@ -8,7 +8,7 @@ This library was extracted from
## Installation

```go
go get -u srcd.works/go-billy.v1/...
go get -u gopkg.in/src-d/go-billy.v1/...
```

## Why billy?
Expand Down
4 changes: 2 additions & 2 deletions memfs/memory.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package memfs provides a billy filesystem base on memory.
package memfs // import "srcd.works/go-billy.v1/memfs"
package memfs // import "gopkg.in/src-d/go-billy.v1/memfs"

import (
"errors"
Expand All @@ -11,7 +11,7 @@ import (
"strings"
"time"

"srcd.works/go-billy.v1"
"gopkg.in/src-d/go-billy.v1"
)

const separator = '/'
Expand Down
2 changes: 1 addition & 1 deletion memfs/memory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

. "gopkg.in/check.v1"
"srcd.works/go-billy.v1/test"
"gopkg.in/src-d/go-billy.v1/test"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
4 changes: 2 additions & 2 deletions osfs/os.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Package os provides a billy filesystem for the OS.
package osfs // import "srcd.works/go-billy.v1/osfs"
package osfs // import "gopkg.in/src-d/go-billy.v1/osfs"

import (
"io/ioutil"
"os"
"path"
"path/filepath"

"srcd.works/go-billy.v1"
"gopkg.in/src-d/go-billy.v1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion osfs/os_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

. "gopkg.in/check.v1"
"srcd.works/go-billy.v1/test"
"gopkg.in/src-d/go-billy.v1/test"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
2 changes: 1 addition & 1 deletion test/fs_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"

. "gopkg.in/check.v1"
. "srcd.works/go-billy.v1"
. "gopkg.in/src-d/go-billy.v1"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down

0 comments on commit 7ab77b7

Please sign in to comment.