From e269cde86538dc22ddbcf4ae870e83ac536550b0 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 16 Jun 2016 10:08:56 -0400 Subject: [PATCH] Convert yaml to use vendoring --- .gitmodules | 3 +++ cmd/hoarder/main.go | 2 +- cmd/hoarder/vendor/github.com/go-yaml/yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 cmd/hoarder/vendor/github.com/go-yaml/yaml diff --git a/.gitmodules b/.gitmodules index 8035461..29a3177 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,6 @@ [submodule "queue/vendor/github.com/tblyler/easysftp"] path = queue/vendor/github.com/tblyler/easysftp url = git://github.com/tblyler/easysftp +[submodule "cmd/hoarder/vendor/github.com/go-yaml/yaml"] + path = cmd/hoarder/vendor/github.com/go-yaml/yaml + url = git://github.com/go-yaml/yaml diff --git a/cmd/hoarder/main.go b/cmd/hoarder/main.go index 5cbe29a..e4b1f56 100644 --- a/cmd/hoarder/main.go +++ b/cmd/hoarder/main.go @@ -3,8 +3,8 @@ package main import ( "flag" "fmt" + "github.com/go-yaml/yaml" "github.com/tblyler/hoarder/queue" - "gopkg.in/yaml.v2" "io/ioutil" "log" "os" diff --git a/cmd/hoarder/vendor/github.com/go-yaml/yaml b/cmd/hoarder/vendor/github.com/go-yaml/yaml new file mode 160000 index 0000000..a83829b --- /dev/null +++ b/cmd/hoarder/vendor/github.com/go-yaml/yaml @@ -0,0 +1 @@ +Subproject commit a83829b6f1293c91addabc89d0571c246397bbf4