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

Set up sbt-release-early and change build semantics #429

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ sbt -Dfile.encoding=UTF-8 \
test:scalafmt::test \
headerCheck \
test:headerCheck \
++2.10.11 \
compilerInterface/compile \
zincRoot/test:compile \
crossTestBridges \
"publishBridgesAndSet $SCALA_VERSION" \
Expand Down
6 changes: 1 addition & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,7 @@ lazy val compilerInterface = (project in internalPath / "compiler-interface")
.settings(
// javaOnlySettings,
name := "Compiler Interface",
// Use the smallest Scala version in the compilerBridgeScalaVersions
// Technically the scalaVersion shouldn't have any effect since scala library is not included,
// but given that Scala 2.10 compiler cannot parse Java 8 source, it's probably good to keep this.
crossScalaVersions := Seq(scala210),
scalaVersion := scala210,
crossScalaVersions := bridgeScalaVersions,
Copy link
Member

Choose a reason for hiding this comment

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

During the release, wouldn't this result to double publishing?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good question, I think it would, I'll try it tomorrow and fix it if that's the case.

adaptOptionsForOldScalaVersions,
libraryDependencies ++= Seq(scalaLibrary.value % Test),
exportJars := true,
Expand Down