diff --git a/.gitignore b/.gitignore index 0d887ccb..d9af66f4 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ output/ v2/example/example v2/goi18n/goi18n + +dist/ diff --git a/v2/.goreleaser.yml b/v2/.goreleaser.yml new file mode 100644 index 00000000..1ef7da17 --- /dev/null +++ b/v2/.goreleaser.yml @@ -0,0 +1,19 @@ +builds: + - binary: goi18n + main: ./goi18n/ + goos: + - windows + - darwin + - linux + goarch: + - amd64 + env: + - CGO_ENABLED=0 +archive: + format: binary + name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" +before: + hooks: + - go mod download +checksum: + name_template: "checksums.txt" diff --git a/v2/go.sum b/v2/go.sum new file mode 100644 index 00000000..6b76c039 --- /dev/null +++ b/v2/go.sum @@ -0,0 +1,7 @@ +github.com/BurntSushi/toml v0.3.0 h1:e1/Ivsx3Z0FVTV0NSOv/aVgbUWyQuzj7DDnFblkRvsY= +github.com/BurntSushi/toml v0.3.0/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +golang.org/x/text v0.0.0-20171214130843-f21a4dfb5e38 h1:yr7ItWHARpqySNZjEh5mPMHrw3xPR9tMnomFZVcO1mQ= +golang.org/x/text v0.0.0-20171214130843-f21a4dfb5e38/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=