Skip to content

Commit

Permalink
Lang clean-up (#3762)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrtm000 authored Oct 11, 2022
1 parent 3570077 commit 29cd170
Show file tree
Hide file tree
Showing 14 changed files with 246 additions and 925 deletions.
17 changes: 2 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
2. You've checked "Make project before run"
*/

import sbt.Def
import sbt.{Compile, Def}
import sbt.Keys.{concurrentRestrictions, _}

Global / onChangedBuildSource := ReloadOnSourceChanges
Expand All @@ -20,6 +20,7 @@ lazy val lang =
libraryDependencies ++= Dependencies.lang.value ++ Dependencies.test,
inConfig(Compile)(
Seq(
sourceGenerators += Tasks.docSource,
PB.targets += scalapb.gen(flatPackage = true) -> sourceManaged.value,
PB.protoSources += PB.externalIncludePath.value,
PB.generate / includeFilter := { (f: File) =>
Expand All @@ -40,9 +41,6 @@ lazy val `lang-jvm` = lang.jvm

lazy val `lang-js` = lang.js
.enablePlugins(VersionObject)
.settings(
Compile / sourceGenerators += Tasks.docSource
)

lazy val `lang-testkit` = project
.dependsOn(`lang-jvm`)
Expand All @@ -54,17 +52,6 @@ lazy val `lang-testkit` = project
lazy val `lang-tests` = project
.in(file("lang/tests"))
.dependsOn(`lang-testkit`)
.settings(
Compile / sourceGenerators += Tasks.docSource
)

lazy val `lang-doc` = project
.in(file("lang/doc"))
.dependsOn(`lang-jvm`)
.settings(
Compile / sourceGenerators += Tasks.docSource,
libraryDependencies ++= Seq("com.github.spullara.mustache.java" % "compiler" % "0.9.10") ++ Dependencies.test
)

lazy val node = project.dependsOn(`lang-jvm`, `lang-testkit` % "test")

Expand Down
186 changes: 0 additions & 186 deletions lang/doc/src/main/scala/com/wavesplatform/utils/DocExport.scala

This file was deleted.

124 changes: 0 additions & 124 deletions lang/doc/src/main/scala/com/wavesplatform/utils/doc/DocExport.scala

This file was deleted.

Loading

0 comments on commit 29cd170

Please sign in to comment.