Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This repository was 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

@philips

Description

@philips

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions