summaryrefslogtreecommitdiff
path: root/Gopkg.toml
diff options
context:
space:
mode:
authorTyler Cipriani <tcipriani@wikimedia.org>2018-11-02 09:40:58 -0600
committerTyler Cipriani <tcipriani@wikimedia.org>2018-12-10 17:33:15 -0700
commit56e830f6417fe1ebda1bdc2cf7810dcccd9a7da6 (patch)
treea081badcc905a516c3421f9534555fe916b961e3 /Gopkg.toml
parent6597c943b6af809cc30e80070ad42953cab05dc4 (diff)
downloadblubber-56e830f6417fe1ebda1bdc2cf7810dcccd9a7da6.tar.gz
Use JSON as canonical config format
Uses the github.com/ghodss/yaml library to convert YAML to JSON before unmarshaling for the purposes of supporting YAML and JSON input while converting to only support JSON internally. Bug: T207694 Change-Id: I00668014907e9ea54917f5d5067cac08d0668053
Diffstat (limited to 'Gopkg.toml')
-rw-r--r--Gopkg.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Gopkg.toml b/Gopkg.toml
index ab06d50..137c406 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -1,5 +1,9 @@
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
+[prune]
+ non-go = true
+ go-tests = true
+ unused-packages = true
[[constraint]]
name = "github.com/docker/distribution"
@@ -24,3 +28,7 @@
[[constraint]]
branch = "v2"
name = "github.com/pborman/getopt"
+
+[[constraint]]
+ name = "github.com/ghodss/yaml"
+ version = "1.0.0"