Skip to content

Commit

Permalink
Updating template to add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Depado committed Oct 20, 2018
1 parent bb565d3 commit 2c32935
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 111 deletions.
3 changes: 3 additions & 0 deletions _example/cleanarch/.projectmpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ after:
failure: stop
echo: "Configured git hooks"
if: git
- cmd: 'git commit -a -m "intial commit"'
echo: "Created initial commit"
if: git
variables:
name:
default: rendered
Expand Down
190 changes: 190 additions & 0 deletions _example/cleanarch/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions _example/cleanarch/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true


[[constraint]]
branch = "master"
name = "github.com/onrik/logrus"

[[constraint]]
name = "github.com/sirupsen/logrus"
version = "1.1.1"

[[constraint]]
name = "github.com/spf13/cobra"
version = "0.0.3"

[[constraint]]
name = "github.com/spf13/viper"
version = "1.2.1"

[prune]
go-tests = true
unused-packages = true

0 comments on commit 2c32935

Please sign in to comment.