Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using gx for other languages than go #237

Open
porky11 opened this issue May 19, 2019 · 1 comment
Open

Using gx for other languages than go #237

porky11 opened this issue May 19, 2019 · 1 comment

Comments

@porky11
Copy link

porky11 commented May 19, 2019

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 hook install-path.
But I don't find documentation how to use hooks. Hooks seem to be available for helper commands like gx-go.

So do I need to write my own gx-scopes command?
Is there some documentation how to do that?

@IcedQuinn
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants