--- a/build.sc Sat Dec 26 10:45:57 2020 +0100
+++ b/build.sc Sat Dec 26 11:12:13 2020 +0100
@@ -1,3 +1,13 @@
+/*
+ * REPL:
+ *
+ * ./mill -i -w
+ *
+ * Generate Idea project:
+ *
+ * ./mill mill.scalalib.GenIdea/idea
+ *
+ */
import ammonite.ops._
import mill._
import mill.api.Loose
@@ -37,7 +47,7 @@
def publishVersion: Target[String] = V.fatags
- def pomSettings = PomSettings(
+ def pomSettings: T[PomSettings] = PomSettings(
description = "FontAwesome Scala DSL (tags)",
organization = "net.tz",
url = "https://hg.functionals.cz/fatags",
@@ -82,7 +92,7 @@
super.sources() :+ PathRef(millSourcePath / 'shared / 'src / 'main / 'scala)
}
- // https://github.com/FortAwesome/Font-Awesome/raw/5.11.2/metadata/icons.json
+ // https://github.com/FortAwesome/Font-Awesome/raw/5.15.1/metadata/icons.json
type IcoDef = (String, Set[String])
def parseIcons: Target[List[IcoDef]] = T{
ujson.read(os.read! pwd / "icons.json").obj.map(e => (e._1, e._2.obj("styles").arr.map(_.str).toSet)).toList