Skip to content

Commit

Permalink
Clean up settings
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Apr 12, 2024
1 parent ba9d3c2 commit 266c67e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import scala.sys.process._
ThisBuild / tlBaseVersion := "0.1" // your current series x.y
ThisBuild / organization := "org.creativescala"
ThisBuild / organizationName := "Creative Scala"
ThisBuild / homepage := Some(
url("https://github.com/creativescala/creative-scala-theme")
)
ThisBuild / startYear := Some(2024)
ThisBuild / licenses := Seq(License.Apache2)
ThisBuild / developers := List(
Expand All @@ -13,19 +16,14 @@ ThisBuild / developers := List(
// true by default, set to false to publish to s01.oss.sonatype.org
ThisBuild / tlSonatypeUseLegacyHost := true

ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "org.creativescala"
ThisBuild / homepage := Some(
url("https://github.com/creativescala/creative-scala-theme")
)

val css = taskKey[Int]("Command to generate css")

lazy val root = (project in file("."))
.enablePlugins(SbtPlugin)
.settings(
name := "creative-scala-theme",
libraryDependencies += "org.typelevel" %% "laika-io" % "1.0.0",
// Run this command if you update the CSS
css := {
val cmd =
s"npx tailwindcss -i ${sourceDirectory.value.toString}/main/css/creative-scala.css -o src/main/resources/creativescala/css/creative-scala.css"
Expand Down

0 comments on commit 266c67e

Please sign in to comment.