From f04b17f1c90df655771aa53e71900329cccd1378 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 27 Mar 2018 11:27:23 +0100 Subject: [PATCH] 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. --- scripts/continuserv/README | 2 +- scripts/continuserv/main.go | 2 +- scripts/test-and-build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/continuserv/README b/scripts/continuserv/README index 8ce37850..edb9aef4 100644 --- a/scripts/continuserv/README +++ b/scripts/continuserv/README @@ -1,6 +1,6 @@ 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: - `go get gopkg.in/fsnotify.v1` + `go get gopkg.in/fsnotify/fsnotify.v1` You can then run continuserv by running: `go run main.go` diff --git a/scripts/continuserv/main.go b/scripts/continuserv/main.go index a6117714..330ddca7 100644 --- a/scripts/continuserv/main.go +++ b/scripts/continuserv/main.go @@ -19,7 +19,7 @@ import ( "sync/atomic" "time" - fsnotify "gopkg.in/fsnotify.v1" + fsnotify "gopkg.in/fsnotify/fsnotify.v1" ) var ( diff --git a/scripts/test-and-build.sh b/scripts/test-and-build.sh index cd25ded2..7794f826 100755 --- a/scripts/test-and-build.sh +++ b/scripts/test-and-build.sh @@ -17,7 +17,7 @@ pip install -r scripts/requirements.txt mkdir -p "${GOPATH}" export GOPATH 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 (cd scripts/continuserv && go build)