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

Commit

Permalink
fixed issue with windows not building correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Nov 6, 2017
1 parent 9de280d commit 436dc23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions buffalo/cmd/build/apkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func (b *Builder) buildAInit() error {
if err != nil {
return errors.WithStack(err)
}
defer f.Close()
t, err := templates.MustBytes("a.go.tmpl")
if err != nil {
return errors.WithStack(err)
Expand Down Expand Up @@ -60,6 +61,7 @@ func (b *Builder) buildADatabase() error {
if err != nil {
return errors.WithStack(err)
}
defer d.Close()
_, err = io.Copy(bb, d)
if err != nil {
return errors.WithStack(err)
Expand Down
3 changes: 1 addition & 2 deletions buffalo/cmd/build/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"os/exec"
"strings"

"github.com/gobuffalo/envy"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
)
Expand All @@ -23,7 +22,7 @@ func (debugWriter) Write(data []byte) (int, error) {
func (b *Builder) exec(name string, args ...string) error {
cmd := exec.CommandContext(b.ctx, name, args...)
logrus.Debugf("running %s", strings.Join(cmd.Args, " "))
cmd.Env = envy.Environ()
//cmd.Env = envy.Environ()
cmd.Stdin = os.Stdin
cmd.Stderr = os.Stderr
cmd.Stdout = debugWriter(0)
Expand Down
2 changes: 1 addition & 1 deletion buffalo/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

// Version is the current version of the buffalo binary
const Version = "v0.10.0"
const Version = "v0.10.1"

func init() {
decorate("version", versionCmd)
Expand Down

0 comments on commit 436dc23

Please sign in to comment.