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

Resolve #1193 : Provide consistent project name pattern. #1194

Merged
merged 2 commits into from
Mar 23, 2018

Conversation

Andrei-Pozolotin
Copy link
Contributor

Resolve #1193 : Provide consistent project name pattern.

build.sbt Outdated
// Provide consistent project name pattern.
lazy val nameSettings = Seq(
normalizedName := projectName(thisProject.value), // Maven <artifactId>
name := s"Scala.native ${projectName(thisProject.value)}" // Maven <name>
Copy link
Member

Choose a reason for hiding this comment

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

Scala Native is the official spelling, no dots.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

}

// Provide consistent project name pattern.
lazy val nameSettings = Seq(
Copy link
Member

Choose a reason for hiding this comment

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

This seems to belong to publishSettings. Lets put it there instead, then you don't have to add extra .settings(nameSettings) everywhere.

Copy link
Contributor Author

@Andrei-Pozolotin Andrei-Pozolotin Mar 12, 2018

Choose a reason for hiding this comment

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

applied to both publishSettings and noPublishSettings since there is no shared settings root in this build.sbt, which could cover all project modules

Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member

@densh densh left a comment

Choose a reason for hiding this comment

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

Needs some love from bin/scalafmt.

@Andrei-Pozolotin
Copy link
Contributor Author

applied

./bin/scalafmt ./build.sbt

@densh
Copy link
Member

densh commented Mar 23, 2018

LGTM, thanks @Andrei-Pozolotin !

@densh densh merged commit 370afb4 into scala-native:master Mar 23, 2018
@Andrei-Pozolotin
Copy link
Contributor Author

thank you

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.

None yet

2 participants