Skip to content
Permalink
Browse files

fixes issue with buffalo install not actually being hooked up! (#1619)

  • Loading branch information...
markbates committed Mar 5, 2019
1 parent 5ab2913 commit da2f8b86777fc4602f545936300cd8e16ead723c
Showing with 80 additions and 14 deletions.
  1. +4 −2 buffalo/cmd/build.go
  2. +19 −12 go.mod
  3. +57 −0 go.sum
@@ -12,7 +12,6 @@ import (
"github.com/gobuffalo/genny"
"github.com/gobuffalo/logger"
"github.com/gobuffalo/meta"
"github.com/gobuffalo/packr/v2/plog"
"github.com/markbates/sigtx"
"github.com/spf13/cobra"
)
@@ -57,7 +56,7 @@ var xbuildCmd = &cobra.Command{
if buildOptions.Verbose || buildOptions.Debug {
lg := logger.New(logger.DebugLevel)
run.Logger = lg
plog.Logger = lg
// plog.Logger = lg
buildOptions.BuildFlags = append(buildOptions.BuildFlags, "-v")
}

@@ -72,6 +71,9 @@ var xbuildCmd = &cobra.Command{
opts.TemplateValidators = append(opts.TemplateValidators, build.PlushValidator, build.GoTemplateValidator)
}

if cmd.CalledAs() == "install" {
opts.GoCommand = "install"
}
clean := build.Cleanup(opts)
defer clean(run)
run.WithNew(build.New(opts))
31 go.mod
@@ -4,16 +4,16 @@ require (
github.com/BurntSushi/toml v0.3.1
github.com/dustin/go-humanize v1.0.0
github.com/fatih/color v1.7.0
github.com/gobuffalo/attrs v0.0.0-20190219185331-f338c9388485
github.com/gobuffalo/buffalo-docker v1.0.5
github.com/gobuffalo/buffalo-plugins v1.13.0
github.com/gobuffalo/buffalo-pop v1.7.0
github.com/gobuffalo/depgen v0.0.0-20190219190223-ba8c93fa0c2c
github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd
github.com/gobuffalo/buffalo-docker v1.0.6
github.com/gobuffalo/buffalo-plugins v1.13.1
github.com/gobuffalo/buffalo-pop v1.8.0
github.com/gobuffalo/depgen v0.0.0-20190224210402-d0846c321ca8
github.com/gobuffalo/envy v1.6.15
github.com/gobuffalo/events v1.2.0
github.com/gobuffalo/fizz v1.5.0 // indirect
github.com/gobuffalo/fizz v1.5.1 // indirect
github.com/gobuffalo/flect v0.1.0
github.com/gobuffalo/genny v0.0.0-20190219203444-c95082806342
github.com/gobuffalo/genny v0.0.0-20190228211236-f262bb0c783b
github.com/gobuffalo/github_flavored_markdown v1.0.7
github.com/gobuffalo/gogen v0.0.0-20190224213239-1c6076128bbc
github.com/gobuffalo/httptest v1.1.0
@@ -24,28 +24,35 @@ require (
github.com/gobuffalo/packr/v2 v2.0.3
github.com/gobuffalo/plush v3.7.33+incompatible
github.com/gobuffalo/plushgen v0.0.0-20190224160205-347ea233336e
github.com/gobuffalo/pop v4.9.8+incompatible
github.com/gobuffalo/pop v4.9.9+incompatible
github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754 // indirect
github.com/gobuffalo/tags v2.0.15+incompatible
github.com/gobuffalo/x v0.0.0-20181110221217-14085ca3e1a9
github.com/gobuffalo/x v0.0.0-20190224155809-6bb134105960
github.com/golang/protobuf v1.3.0 // indirect
github.com/gorilla/context v1.1.1
github.com/gorilla/mux v1.7.0
github.com/gorilla/sessions v1.1.3
github.com/karrick/godirwalk v1.8.0
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/markbates/deplist v1.1.3
github.com/markbates/grift v1.0.5
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2
github.com/markbates/refresh v1.7.0
github.com/markbates/refresh v1.7.1
github.com/markbates/safe v1.0.1
github.com/markbates/sigtx v1.0.0
github.com/mattn/go-isatty v0.0.6 // indirect
github.com/monoculum/formam v0.0.0-20180901015400-4e68be1d79ba
github.com/pkg/errors v0.8.1
github.com/sirupsen/logrus v1.3.0
github.com/spf13/cobra v0.0.3
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v1.3.1
github.com/stretchr/testify v1.3.0
golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2
golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25
golang.org/x/net v0.0.0-20190301231341-16b79f2e4e95 // indirect
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6
golang.org/x/tools v0.0.0-20190227180812-8dcc6e70cdef
golang.org/x/sys v0.0.0-20190305064518-30e92a19ae4a // indirect
golang.org/x/tools v0.0.0-20190305160728-f8c04913dfb7
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc
)
Oops, something went wrong.

0 comments on commit da2f8b8

Please sign in to comment.
You can’t perform that action at this time.