Skip to content

ERROR: Unrecognized option: --define=key=value #120

Closed
@schoren

Description

I'm trying to setup ibazel to work with my current bazel workspace. I have a toos/bazel.rc that looks like this:

common --define=key=value --workspace_status_command=./tools/build/status.bash

Then I run ibazel run //mytarget and I get the following error:

State: QUERY
Querying for BUILD files...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'query' from /dev/myproject/tools/bazel.rc:
  Inherited 'common' options: --define=key=value --workspace_status_command=./tools/build/status.bash
ERROR: Unrecognized option: --define=key=value
Error running Bazel exit status 2

Is there anything I'm doing wrong? Thanks

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions