feat: project seperation
This commit is contained in:
parent
a679aeb978
commit
3e06f86735
24 changed files with 49 additions and 21 deletions
|
@ -347,13 +347,15 @@ object DomGenerator {
|
|||
|
||||
private object generator
|
||||
extends CanonicalGenerator(
|
||||
baseOutputDirectoryPath = "shared/src/main/scala/top/davidon/sfs/dom",
|
||||
baseOutputDirectoryPath = "dom/src/main/scala/top/davidon/sfs/dom",
|
||||
basePackagePath = "top.davidon.sfs.dom",
|
||||
standardTraitCommentLines = List(
|
||||
"#NOTE: GENERATED CODE",
|
||||
s" - This file is generated at compile time from the data in Scala DOM Types",
|
||||
" - See `project/DomDefsGenerator.scala` for code generation params",
|
||||
" - Contribute to https://github.com/raquo/scala-dom-types to add missing tags / attrs / props / etc."
|
||||
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!! THIS IS GENERATED CODE !!!",
|
||||
"!!! DO NOT EDIT DIRECTLY !!!",
|
||||
"!!! DO NOT COMMIT !!!",
|
||||
"!!! SEE ./project/DomGenerator !!!",
|
||||
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
),
|
||||
format = CodeFormatting()
|
||||
) {
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
|
||||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
|
||||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue