equal
deleted
inserted
replaced
80 |
80 |
81 override def sources: Sources = T.sources{ |
81 override def sources: Sources = T.sources{ |
82 super.sources() :+ PathRef(millSourcePath / 'shared / 'src / 'main / 'scala) |
82 super.sources() :+ PathRef(millSourcePath / 'shared / 'src / 'main / 'scala) |
83 } |
83 } |
84 |
84 |
85 // https://github.com/FortAwesome/Font-Awesome/raw/5.6.3/metadata/icons.json |
85 // https://github.com/FortAwesome/Font-Awesome/raw/5.11.2/metadata/icons.json |
86 type IcoDef = (String, Set[String]) |
86 type IcoDef = (String, Set[String]) |
87 def parseIcons: Target[List[IcoDef]] = T{ |
87 def parseIcons: Target[List[IcoDef]] = T{ |
88 ujson.read(os.read! pwd / "icons.json").obj.map(e => (e._1, e._2.obj("styles").arr.map(_.str).toSet)).toList |
88 ujson.read(os.read! pwd / "icons.json").obj.map(e => (e._1, e._2.obj("styles").arr.map(_.str).toSet)).toList |
89 } |
89 } |
90 |
90 |