New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CircleCI build to use Mage #3969

Closed
bep opened this Issue Oct 14, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@bep
Member

bep commented Oct 14, 2017

No description provided.

@bep bep added the Enhancement label Oct 14, 2017

@bep bep added this to the v0.30 milestone Oct 14, 2017

@bep bep self-assigned this Oct 14, 2017

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Oct 14, 2017

Member

Also, since this is includes updating a docker image might as well update Goreleaser + Go (1.9.1).

Member

bep commented Oct 14, 2017

Also, since this is includes updating a docker image might as well update Goreleaser + Go (1.9.1).

@bep bep closed this in 68ace43 Oct 15, 2017

bep added a commit that referenced this issue Oct 15, 2017

@bep bep reopened this Oct 16, 2017

bep added a commit that referenced this issue Oct 16, 2017

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Oct 16, 2017

Member

This still doesn't work:

Error: mage.go:5:9: could not import fmt (cannot find package "fmt" in any of:
	/Users/finchnat/src/github.com/golang/go/src/fmt (from $GOROOT)
	/go/src/fmt (from $GOPATH))
root@a7699ceb0bec:/go# mage -version
Mage Build Tool 1.0.1
Build Date: 2017-10-16T03:55:08Z
Commit: e66e3df1f2a53233ad48e5e874a0e532c65592dd
root@a7699ceb0bec:/go#

mage.go is a very simple build file and it, obviously, also fails for more complex scenarios:

// +build mage

package main

import ("fmt")

func Build() {
    fmt.Println("hi")
}
Member

bep commented Oct 16, 2017

This still doesn't work:

Error: mage.go:5:9: could not import fmt (cannot find package "fmt" in any of:
	/Users/finchnat/src/github.com/golang/go/src/fmt (from $GOROOT)
	/go/src/fmt (from $GOPATH))
root@a7699ceb0bec:/go# mage -version
Mage Build Tool 1.0.1
Build Date: 2017-10-16T03:55:08Z
Commit: e66e3df1f2a53233ad48e5e874a0e532c65592dd
root@a7699ceb0bec:/go#

mage.go is a very simple build file and it, obviously, also fails for more complex scenarios:

// +build mage

package main

import ("fmt")

func Build() {
    fmt.Println("hi")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment