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

expects git repo in package root and fails if there is none #21

Open
philips opened this issue May 31, 2015 · 0 comments
Open

expects git repo in package root and fails if there is none #21

philips opened this issue May 31, 2015 · 0 comments

Comments

@philips
Copy link

philips commented May 31, 2015

I have a misc hack set of projects at github.com/philips/hacks and I am interested in building a package in the subdirectory called "host-info":

$ goaci --go-path=$HOME github.com/philips/hacks/host-info
GOPATH env var is ignored, use --go-path="$GOPATH" option instead
Failed to get VCS info: Unknown code repository in "/home/philips/src/github.com/philips/hacks/host-info"

Hrm, it seems goaci expects the VCS to be in the root of the package.

Workaround:

$ ln -s ../.git .
$ goaci --go-path=$HOME github.com/philips/hacks/host-info
GOPATH env var is ignored, use --go-path="$GOPATH" option instead
Wrote host-info.aci
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant