Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

test the goth generator in docker #78

Merged
merged 4 commits into from
Dec 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ RUN go vet -x ./...
RUN buffalo db create -a
RUN buffalo db migrate -e test
RUN buffalo test -race
RUN buffalo g goth facebook twitter linkedin github
RUN buffalo test -race
1 change: 1 addition & 0 deletions buffalo/cmd/generate/goth.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ var GothCmd = &cobra.Command{
func NewGothGenerator() *gentronics.Generator {
g := gentronics.New()
g.Add(gentronics.NewFile(filepath.Join("actions", "goth.go"), gGoth))
g.Add(gentronics.NewCommand(GoGet("github.com/markbates/goth/...")))
g.Add(Fmt)
return g
}
Expand Down