Skip to content
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

"invalid load syntax" when loading rules from external git repository #65

Closed
or-shachar opened this issue Mar 15, 2017 · 2 comments
Closed

Comments

@or-shachar
Copy link

I'm getting error when loading a rule from external repository:
image

Full error text:

Invalid load syntax: missing Skylark module.

Might be related to issue #13 .

Env:

  • mac os X 10.12.3
  • Bazel 0.4.4
  • IntelliJ 2016.3.5
  • IntelliJ Bazel plugin 2017.02.27.3.

I configured the external repository @io_bazel_rules_scala as git_repository in the workspace file.
image

bazel runs without problems from the shell.

@brendandouglas
Copy link
Contributor

Thanks for letting us know. This is fixed for the next release, which should arrive in around two weeks -- we've added a lot more external workspace (and WORKSPACE file) support (e.g. syntax highlighting in WORKSPACE files, navigation/find usages for external workspace targets).

@or-shachar
Copy link
Author

Great! Thanks @brendandouglas !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants