Skip to content

Disable publishing of root project #112

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 1 commit into from
May 2, 2017

Conversation

gourlaysama
Copy link
Contributor

No description provided.

build.sbt Outdated
@@ -13,6 +13,10 @@ scalaVersionsByJvm in ThisBuild := {
)
}

lazy val root = project.in(file("."))
.aggregate(`scala-parser-combinatorsJS`, `scala-parser-combinatorsJVM`)
.settings(publish := {}, publishLocal := {})
Copy link
Member

Choose a reason for hiding this comment

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

The scala-module-plugin defines a list of settings disablePublishing that you can use if you like: https://github.com/scala/sbt-scala-modules/blob/v1.0.8/src/main/scala/ScalaModulePlugin.scala#L65-L74

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated; thanks!

@gourlaysama gourlaysama merged commit 65802b5 into scala:1.0.x May 2, 2017
@gourlaysama gourlaysama deleted the no-root-publish branch May 2, 2017 13:16
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

Successfully merging this pull request may close these issues.

2 participants