Fix tomb import
has moved from launchpad.net (now down) to GitHub, and accessible as gopkg.in/tomb.v1 closes #33
This commit is contained in:
parent
056d606881
commit
22e519566e
11
Dockerfile
11
Dockerfile
|
@ -1,12 +1,9 @@
|
|||
# -*- sh -*-
|
||||
|
||||
FROM ubuntu:13.10
|
||||
|
||||
RUN echo "deb http://archive.ubuntu.com/ubuntu quantal main universe" >> /etc/apt/sources.list
|
||||
FROM ubuntu
|
||||
|
||||
RUN apt-get -qy update
|
||||
RUN apt-get -qy install golang-go
|
||||
RUN apt-get -qy install git mercurial bzr subversion
|
||||
RUN apt-get -y install golang-go
|
||||
RUN apt-get -y install git
|
||||
RUN apt-get -y install mercurial subversion
|
||||
|
||||
ENV GOPATH $HOME/go
|
||||
|
||||
|
|
|
@ -5,9 +5,10 @@
|
|||
"type": "git-clone",
|
||||
"alias": "github.com/howeyc/fsnotify"
|
||||
},
|
||||
"launchpad.net/tomb": {
|
||||
"repo": "launchpad.net/tomb",
|
||||
"version": "17",
|
||||
"type": "bzr"
|
||||
"gopkg.in/tomb.v1": {
|
||||
"repo": "https://github.com/go-tomb/tomb.git",
|
||||
"version": "c131134a1947e9afd9cecfe11f4c6dff0732ae58",
|
||||
"type": "git-clone",
|
||||
"alias": "gopkg.in/tomb.v1"
|
||||
}
|
||||
}
|
||||
|
|
2
tail.go
2
tail.go
|
@ -8,9 +8,9 @@ import (
|
|||
"github.com/ActiveState/tail/ratelimiter"
|
||||
"github.com/ActiveState/tail/util"
|
||||
"github.com/ActiveState/tail/watch"
|
||||
"gopkg.in/tomb.v1"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"launchpad.net/tomb"
|
||||
"log"
|
||||
"os"
|
||||
"strings"
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"fmt"
|
||||
"github.com/ActiveState/tail/util"
|
||||
"github.com/howeyc/fsnotify"
|
||||
"launchpad.net/tomb"
|
||||
"gopkg.in/tomb.v1"
|
||||
"os"
|
||||
"path/filepath"
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ package watch
|
|||
|
||||
import (
|
||||
"github.com/ActiveState/tail/util"
|
||||
"launchpad.net/tomb"
|
||||
"gopkg.in/tomb.v1"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
package watch
|
||||
|
||||
import (
|
||||
"launchpad.net/tomb"
|
||||
"gopkg.in/tomb.v1"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue