Fix path to fsnotify

Apparently this should be referred to as gopkg.in/fsnotify/fsnotify.v1. I'm not
sure what has changed to stop the old format working.
pull/977/head
Richard van der Hoff 7 years ago
parent f20fe41e79
commit f04b17f1c9

@ -1,6 +1,6 @@
continuserv proactively re-generates the spec on filesystem changes, and serves it over HTTP. continuserv proactively re-generates the spec on filesystem changes, and serves it over HTTP.
To run it, you must install the `go` tool. You will also need to install fsnotify by running: To run it, you must install the `go` tool. You will also need to install fsnotify by running:
`go get gopkg.in/fsnotify.v1` `go get gopkg.in/fsnotify/fsnotify.v1`
You can then run continuserv by running: You can then run continuserv by running:
`go run main.go` `go run main.go`

@ -19,7 +19,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
fsnotify "gopkg.in/fsnotify.v1" fsnotify "gopkg.in/fsnotify/fsnotify.v1"
) )
var ( var (

@ -17,7 +17,7 @@ pip install -r scripts/requirements.txt
mkdir -p "${GOPATH}" mkdir -p "${GOPATH}"
export GOPATH export GOPATH
go get github.com/hashicorp/golang-lru go get github.com/hashicorp/golang-lru
go get gopkg.in/fsnotify.v1 go get gopkg.in/fsnotify/fsnotify.v1
# make sure that the scripts build # make sure that the scripts build
(cd scripts/continuserv && go build) (cd scripts/continuserv && go build)

Loading…
Cancel
Save