equal
deleted
inserted
replaced
95 |
95 |
96 override def sources: Sources = T.sources{ |
96 override def sources: Sources = T.sources{ |
97 super.sources() :+ PathRef(millSourcePath / 'shared / 'src / 'main / 'scala) |
97 super.sources() :+ PathRef(millSourcePath / 'shared / 'src / 'main / 'scala) |
98 } |
98 } |
99 |
99 |
100 // https://github.com/FortAwesome/Font-Awesome/raw/5.15.1/metadata/icons.json |
100 // https://github.com/FortAwesome/Font-Awesome/raw/5.15.3/metadata/icons.json |
101 type IcoDef = (String, Set[String]) |
101 type IcoDef = (String, Set[String]) |
102 def parseIcons: Target[List[IcoDef]] = T{ |
102 def parseIcons: Target[List[IcoDef]] = T{ |
103 ujson.read(os.read! pwd / "icons.json").obj.map(e => (e._1, e._2.obj("styles").arr.map(_.str).toSet)).toList |
103 ujson.read(os.read! pwd / "icons.json").obj.map(e => (e._1, e._2.obj("styles").arr.map(_.str).toSet)).toList |
104 } |
104 } |
105 |
105 |