Skip to content

Bazel query has to be written differently in order to work in Dazel #57

Description

@ilanKeshet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions