sbt - shapeless port to scala-js: create artifact with few external dependencies -
there port of shapeless library scala-js (https://github.com/alexander-myltsev/shapeless). need publish artifact fewer possible dependencies original shapeless.
now forked miles sabin's repo, , added changes required generate scala-js library: add together scalajs-sbt-plugin, tune build.scala, add together bintray-sbt-plugin.
it wrong inquire shapeless maintainers merge branch because scala-js broke build.
on other hand i'd have minimal dependencies original repo well. theoretically , ideally i'd create, say, shapeless-scalajs sbt-project scratch. reference somehow original shapeless library. , derive shapeless-build-scala required overrides build against scala-js , publish bintray.
i believe in almighty sbt :) options solve task?
i think easiest way (no sbt hackery involved):
fork shapeless create scala.js branch change build files need. is, modifyshapelesscore project straight in pr. (add scalajssettings, repo coordinates) commit publish shapeless maven central when new version of shapeless comes out, merge shapeless/master scala.js branch. if no changes happened build file, merge fine. re-publish this way easier sbt project depends on external project (which doable, doesn't straight allow reuse settings etc.)
scala sbt shapeless scala.js
No comments:
Post a Comment