mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Update import path of fsnotify
Rename "gopkg.in/fsnotify.v1" to "github.com/fsnotify/fsnotify" per upstream recommendation. See https://github.com/fsnotify/fsnotify/issues/108 for rationale.
This commit is contained in:
parent
5e9b147c2a
commit
9ddf52021b
4 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ RUN go get github.com/stretchr/testify/assert \
|
||||||
&& go get golang.org/x/text/unicode/norm \
|
&& go get golang.org/x/text/unicode/norm \
|
||||||
&& go get github.com/yosssi/ace \
|
&& go get github.com/yosssi/ace \
|
||||||
&& go get github.com/spf13/nitro \
|
&& go get github.com/spf13/nitro \
|
||||||
&& go get gopkg.in/fsnotify.v1
|
&& go get github.com/fsnotify/fsnotify
|
||||||
|
|
||||||
COPY . /go/src/github.com/spf13/hugo
|
COPY . /go/src/github.com/spf13/hugo
|
||||||
RUN go get -d -v github.com/spf13/hugo
|
RUN go get -d -v github.com/spf13/hugo
|
||||||
|
|
|
@ -33,6 +33,7 @@ import (
|
||||||
|
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
|
"github.com/fsnotify/fsnotify"
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/fsync"
|
"github.com/spf13/fsync"
|
||||||
|
@ -44,7 +45,6 @@ import (
|
||||||
jww "github.com/spf13/jwalterweatherman"
|
jww "github.com/spf13/jwalterweatherman"
|
||||||
"github.com/spf13/nitro"
|
"github.com/spf13/nitro"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"gopkg.in/fsnotify.v1"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// MainSite represents the Hugo site to build. This variable is exported as it
|
// MainSite represents the Hugo site to build. This variable is exported as it
|
||||||
|
|
|
@ -32,6 +32,7 @@ import (
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
"github.com/bep/inflect"
|
"github.com/bep/inflect"
|
||||||
|
"github.com/fsnotify/fsnotify"
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
"github.com/spf13/cast"
|
"github.com/spf13/cast"
|
||||||
bp "github.com/spf13/hugo/bufferpool"
|
bp "github.com/spf13/hugo/bufferpool"
|
||||||
|
@ -45,7 +46,6 @@ import (
|
||||||
jww "github.com/spf13/jwalterweatherman"
|
jww "github.com/spf13/jwalterweatherman"
|
||||||
"github.com/spf13/nitro"
|
"github.com/spf13/nitro"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"gopkg.in/fsnotify.v1"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = transform.AbsURL
|
var _ = transform.AbsURL
|
||||||
|
|
|
@ -16,7 +16,7 @@ package watcher
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gopkg.in/fsnotify.v1"
|
"github.com/fsnotify/fsnotify"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Batcher struct {
|
type Batcher struct {
|
||||||
|
|
Loading…
Reference in a new issue