Skip to content
This repository was archived by the owner on Nov 17, 2021. It is now read-only.
This repository was archived by the owner on Nov 17, 2021. It is now read-only.

Install part of repository with custom :command #36

Description

@fzerorubigd

I use gom mostly for use our mirrored repository. for example (since Iran's firewall blocked bitbucket.org for any reason that I don't know and can't understand) we mirror the goose repository in a locally installed gitlab repository (go get can not understand gitlab :/ ).
now this line :

gom 'bitbucket.org/liamstask/goose/cmd/goose', :command => 'git clone http://example.com/mirrors/goose.git'

is not working. its clone the repo inside the src/bitbucket.org/liamstask/goose/cmd/goose which is not correct.
Also this :

gom 'bitbucket.org/liamstask/goose', :command => 'git clone http://example.com/mirrors/goose.git'

Is failed. since there is no go file in root of this repository. (this repository is just an example, and we have this problem with some other repository too)

Is there anything I can do to fix this? any hack or even a feature that I can implement, please let me know.

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions