Open palsivertsen opened 6 years ago
Changing the package name from gitlab.com/company/project/libraries/my-library
to gitlab.com/company/my-library
works
@palsivertsen where to change the package name: in reference or .yaml i met same problem
@zppro Change it in the glide.yaml
file like so:
package: my-project
import:
- - package: gitlab.com/company/project/libraries/my-library
+ - package: gitlab.com/company/my-library
repo: git@gitlab.com/company/project/libraries/my-library.git
Then imports like this should work:
import "gitlab.com/company/my-library"
When adding a dependency that resides in a subfolder Glide fails on install.
Example:
Doing
glide i
results in the following error:Note the last line
-libraries-my-library.git/libraries/my-library
wherelibraries/my-library
is treated as a subpackage.