Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

fleetd,main: make github.com/coreos/fleet go-getable #1681

Merged
merged 2 commits into from
Sep 14, 2016

Conversation

dongsupark
Copy link
Contributor

So far it hasn't been possible to do "go get github.com/coreos/fleet" because there was no main.go in the top source directory. Create main.go, a simple wrapper for fleetd to make it "go-getable".

This is a preparation for #1665, as goaci requires a go-getable package.

So far it hasn't been possible to do "go get github.com/coreos/fleet"
because there was no main.go in the top source directory.
Create main.go, a simple wrapper for fleetd to make it "go-getable".
Now that fleetd/fleetd.go doesn't have main(), we need to make the
default build script run go build on the top source directory, instead
of ./fleetd/. Then it will end up building fleetd, as main() in main.go
imports fleetd.Main() by default.
@jonboulle
Copy link
Contributor

LGTM if everything else continues to work!

@dongsupark dongsupark merged commit 4a72636 into coreos:master Sep 14, 2016
@dongsupark dongsupark deleted the dongsu/fleetd-main-go-getable branch September 14, 2016 15:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants