Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Dec 23, 2023
1 parent 15f7a44 commit 6e486cb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
22 changes: 20 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,20 +1,38 @@

import $ivy.`com.github.lolgab::mill-crossplatform::0.2.4`
import $ivy.`io.github.quafadas::mill_scala3_site_mdoc::0.0.7`
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0`

import de.tobiasroeser.mill.vcs.version._
import com.github.lolgab.mill.crossplatform._
import mill._, mill.scalalib._, mill.scalajslib._, mill.scalanativelib._
import millSite.SiteModule
import mill._, scalalib._
import mill._, scalalib._, publish._

trait Common extends ScalaModule {
trait Common extends ScalaModule with PublishModule {
def scalaVersion = "3.3.1"

override def ivyDeps = super.ivyDeps() ++ Agg(
ivy"com.lihaoyi::scalatags::0.12.0",
ivy"com.lihaoyi::os-lib:0.9.1"
)

def publishVersion = VcsVersion.vcsState().format()

override def pomSettings = T {
PomSettings(
description = "Automatically generate html tables from scala case classes",
organization = "io.github.quafadas",
url = "https://github.com/Quafadas/scautable",
licenses = Seq(License.`Apache-2.0`),
versionControl =
VersionControl.github("quafadas", "scautable"),
developers = Seq(
Developer("quafadas", "Simon Parten", "https://github.com/quafadas")
)
)
}

}

trait CommonJS extends ScalaJSModule {
Expand Down
2 changes: 1 addition & 1 deletion scautable/src/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ object scautable extends PlatformSpecific {
getTypeclassInstances[m.MirroredElemTypes]

// this traits can just be copy/pasted or reside in a library
private trait EasyDerive[TC[_]] {
trait EasyDerive[TC[_]] {
final def apply[A](using tc: TC[A]): TC[A] = tc

case class CaseClassElement[A, B](
Expand Down

0 comments on commit 6e486cb

Please sign in to comment.