-
Notifications
You must be signed in to change notification settings - Fork 27
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
Use the correct jq package #363
Conversation
jq package is a jQuery wrapper, and we don't use commander at all. node-jq allows us to use jq inside of node files, and downloads jq to `./node_modules/node-jq/bin/jq` ;)
Personally I know Makefiles better than I know node, so I'd prefer to keep it as a Makefile instead of turning it into a node script... |
Would you be willing to change the makefile so that it uses the downloaded binary? |
Well... hm. I know how I'd do this if we were generating the makefile with autotools, but since we're not... I guess |
@rougetimelord do you want me to do this as part of this PR, or a separate one? |
Yeah let's do it in here |
add `./node_modules/node-jq/bin` to `PATH` (untested)
Could you give f7c8ebb a try? I'm not quite sure if I did it the right way, or if I need to add an extra |
Ah wait nvm, CI caught it... |
try tweaking setting of `PATH` a bit
OK try now after 2427a42? |
I don't have a lot of knowledge around make, does it work locally for you? |
I mean, I have |
jq package is a jQuery wrapper, and we don't use commander at all.
node-jq allows us to use jq inside of node files, and as a side benefit it downloads the jq binary to
./node_modules/node-jq/bin/jq
. So we could update the makefile to use that binary, or alternatively turn the functionality of the makefile into a node script?