Skip to content

Conversation

@liucijus
Copy link
Collaborator

Specs2 toolchain, part of #940

@liucijus liucijus requested a review from ittaiz as a code owner November 11, 2020 13:02
@google-cla google-cla bot added the cla: yes label Nov 11, 2020

register_toolchains("@io_bazel_rules_scala//testing:testing_toolchain")

register_toolchains("@io_bazel_rules_scala//testing:testing_toolchain")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicates line above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching!

deps_id = "specs2_classpath",
visibility = ["//visibility:public"],
deps = [
"@io_bazel_rules_scala_org_specs2_specs2_common",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why all other deps are in form //external:io_bazel_rules_scala/dependency/... and these are not?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes from the existing code: https://github.com/bazelbuild/rules_scala/blob/master/specs2/BUILD#L9

It's binded later in https://github.com/bazelbuild/rules_scala/blob/master/specs2/specs2.bzl#L26

Existing binds are subject to be removed later. Currently the goal is to give a way to not use binds.

docs/testing.md Outdated
```

### Example to set up JUnit dependencies
### Configuring JUnit dependencies vai toolchain
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: typo

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for catching - fixed

Copy link
Contributor

@ittaiz ittaiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will merge once green. thanks!

@ittaiz ittaiz merged commit 376765b into bazel-contrib:master Nov 13, 2020
blorente pushed a commit to twitter-forks/rules_scala that referenced this pull request Nov 26, 2020
* Update testing docs, toolchain and repository loading

* Add testing toolchain to version tests WORKSPACE

* specs2 and specs2 junit toolchain deps

* Use external name in toolchain helpers

* Update and add specs2 docs and examples

* Docs update

* Remove duplicate toolchain registration

* Move example workspace tests to a separete Travis CI job

* Fix typo in docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants