Open porky11 opened 5 years ago
You do have to write a gx-scopes
command and it will call that if a particular project says it's using the scopes language. Similarly if you said a project was using nim it would try to run gx-nim
at certain points.
Its similar to how parts of Git works.
I'm currently using the pretty new programming language scopes, which doesn't have a package manager yet, and think about writing a package manager on top of gx (or just using gx directly).
The problem I have is, by default packages are installed into the vendor directory. I'd like to install all my packages to
path/to/lib/scopes/
, so I probably need to use the hookinstall-path
. But I don't find documentation how to use hooks. Hooks seem to be available for helper commands likegx-go
.So do I need to write my own
gx-scopes
command? Is there some documentation how to do that?