For example the query for fetching the locations of all protocol buffer files you have to escape some characters.
Note the extra \ characters
Bazel
bazel query 'filter("^[^@].*\.proto$", deps(//target/...))'
Dazel
dazel query 'filter(\"^[^@].*\\.proto$\", deps(//target/...))'
Basically if you have a script which should work with both bazel and dazel you'd have to write two different queries.
Looking at the source code, I think it might be the result of the way arguments are being quoted when formulating the docker command
For example the query for fetching the locations of all protocol buffer files you have to escape some characters.
Note the extra
\charactersBazel
bazel query 'filter("^[^@].*\.proto$", deps(//target/...))'Dazel
dazel query 'filter(\"^[^@].*\\.proto$\", deps(//target/...))'Basically if you have a script which should work with both
bazelanddazelyou'd have to write two different queries.Looking at the source code, I think it might be the result of the way arguments are being quoted when formulating the docker command