Mattias Wadman
377af133e0
fqtest: Cleanup path usage
...
Make cwd for a test script the directory where the script is.
Use relative paths
2022-05-21 20:03:25 +02:00
Mattias Wadman
8dde3ef5b1
interp: Fix crash when including relatve path when no search paths are set
2022-05-17 18:05:10 +02:00
Mattias Wadman
e238f292af
repl: Speedup multi input to sub-repl
...
Rewrite non-sub-repl queries as "q" -> ".[] | q" and pass in inputs as array.
Before each input did an eval.
Also fixup error message a bit, skip line:column when they dont make sense.
2022-02-18 01:13:45 +01:00
Mattias Wadman
77ab667bfa
interp: Use absolute path in errors
...
Make it easier to find parse error in init.jq etc
2022-02-11 16:34:20 +01:00
Mattias Wadman
826c8bd555
interp: Make include abs path work again
2021-10-26 11:02:30 +02:00
Mattias Wadman
85d17199de
cli: jq compat, multiple -L
2021-09-12 13:08:55 +02:00
Mattias Wadman
0dd848de6c
cli: Better filenames in errors
2021-09-12 13:08:51 +02:00
Mattias Wadman
ae5566a6ce
cli: Include paths and some refactor
2021-09-12 13:08:50 +02:00