Skip to content

Specs2 toolchain #1136

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

Merged
merged 9 commits into from
Nov 13, 2020
Merged

Specs2 toolchain #1136

merged 9 commits into from
Nov 13, 2020

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
@@ -47,6 +47,8 @@ specs2_junit_repositories()

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