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

Adds support to publish as scala.js library #4

Merged
merged 1 commit into from
Dec 28, 2017

Conversation

Voltir
Copy link
Contributor

@Voltir Voltir commented Dec 28, 2017

Im not entirely sure if this works with the publishSettings value you have to publish to sonatype, but publishLocal works.

@codecov
Copy link

codecov bot commented Dec 28, 2017

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   40.27%   40.27%           
=======================================
  Files           3        3           
  Lines          72       72           
=======================================
  Hits           29       29           
  Misses         43       43
Impacted Files Coverage Δ
...ore/shared/src/main/scala/schemes/data/ListF.scala 66.66% <ø> (ø)
core/shared/src/main/scala/schemes/Schemes.scala 37.09% <ø> (ø)
core/shared/src/main/scala/schemes/package.scala 0% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a10aae4...4411d09. Read the comment docs.

@DavidGregory084 DavidGregory084 self-assigned this Dec 28, 2017
Copy link
Owner

@DavidGregory084 DavidGregory084 left a comment

Choose a reason for hiding this comment

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

Looks perfect to me, I just have one question about the libraryDependencies. Thanks @Voltir!

@@ -17,6 +19,9 @@ lazy val core = project.in(file("core"))
tutTargetDirectory := file(".")
)

lazy val coreJS = core.js
lazy val coreJVM = core.jvm

lazy val commonSettings = Def.settings(
Copy link
Owner

Choose a reason for hiding this comment

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

I don't really know a lot about how the Scala.js plugin works - do the libraryDependencies in the commonSettings need to use the %%% separator?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You know, im not entirely sure. As far as I can tell, %%% wasn't needed, but maybe there is a runtime linker problem waiting to blow up if I use it more.

Copy link
Owner

Choose a reason for hiding this comment

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

Ok, let's merge it 👍

@DavidGregory084 DavidGregory084 merged commit 0ae5a96 into DavidGregory084:master Dec 28, 2017
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