@@ -386,11 +386,6 @@ object Build {
386
386
Compile / doc / scalacOptions ++= scalacOptionsDocSettings,
387
387
// sbt-dotty defines `scalaInstance in doc` so we need to override it manually
388
388
doc / scalaInstance := scalaInstance.value,
389
- <<<<<<< HEAD
390
- =======
391
-
392
- disableDocSetting,
393
- >>>>>>> 5b2ab78721 (Move to sbt slash syntax)
394
389
)
395
390
396
391
lazy val commonBenchmarkSettings = Seq (
@@ -717,11 +712,6 @@ object Build {
717
712
(Compile / scalacOptions) ++= Seq (
718
713
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
719
714
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getAbsolutePath).distinct.mkString(File .pathSeparator),
720
- <<<<<<< HEAD
721
- =======
722
- // support declaration of scala.compiletime.erasedValue
723
- " -Yerased-terms"
724
- >>>>>>> 5b2ab78721 (Move to sbt slash syntax)
725
715
),
726
716
)
727
717
@@ -758,11 +748,7 @@ object Build {
758
748
settings(
759
749
libraryDependencies +=
760
750
(" org.scala-js" %% " scalajs-library" % scalaJSVersion).withDottyCompat(scalaVersion.value),
761
- <<<<<<< HEAD
762
751
Compile / unmanagedSourceDirectories ++=
763
- =======
764
- Compile / unmanagedSourceDirectories :=
765
- >>>>>>> 5b2ab78721 (Move to sbt slash syntax)
766
752
(`scala3-library-bootstrapped` / Compile / unmanagedSourceDirectories).value,
767
753
768
754
// Configure the source maps to point to GitHub for releases
@@ -1742,27 +1728,12 @@ object Build {
1742
1728
(Test / Build .testcasesSourceRoot),
1743
1729
Build .testDocumentationRoot,
1744
1730
),
1745
- <<<<<<< HEAD
1746
- =======
1747
- Compile / resourceGenerators += Def .task {
1748
- val jsDestinationFile = (Compile / resourceManaged).value / " dotty_res" / " scripts" / " searchbar.js"
1749
- sbt.IO .copyFile((`scaladoc-js` / Compile / fullOptJS).value.data, jsDestinationFile)
1750
- Seq (jsDestinationFile)
1751
- }.taskValue,
1752
- Compile / resourceGenerators += Def .task {
1753
- val cssDesitnationFile = (Compile / resourceManaged).value / " dotty_res" / " styles" / " scaladoc-searchbar.css"
1754
- val cssSourceFile = (`scaladoc-js` / Compile / resourceDirectory).value / " scaladoc-searchbar.css"
1755
- sbt.IO .copyFile(cssSourceFile, cssDesitnationFile)
1756
- Seq (cssDesitnationFile)
1757
- }.taskValue,
1758
- >>>>>>> 5b2ab78721 (Move to sbt slash syntax)
1759
1731
testDocumentationRoot := (baseDirectory.value / " test-documentations" ).getAbsolutePath,
1760
1732
Test / buildInfoPackage := " dotty.tools.scaladoc.test" ,
1761
1733
BuildInfoPlugin .buildInfoScopedSettings(Test ),
1762
1734
)
1763
1735
}
1764
1736
1765
- <<<<<<< HEAD
1766
1737
def asScaladocTestcases (implicit mode : Mode ): Project =
1767
1738
if (mode == Bootstrapped )
1768
1739
project.dependsOn(`scala3-compiler-bootstrapped`).settings(commonBootstrappedSettings)
@@ -1780,21 +1751,6 @@ object Build {
1780
1751
libraryDependencies += (" org.scala-js" %%% " scalajs-dom" % " 1.1.0" ).withDottyCompat(scalaVersion.value)
1781
1752
)
1782
1753
}
1783
- =======
1784
- def asScaladocTestcases : Project =
1785
- project.dependsOn(`scala3-compiler-bootstrapped`).settings(commonBootstrappedSettings)
1786
-
1787
- def asScaladocJs : Project =
1788
- project.
1789
- enablePlugins(MyScalaJSPlugin ).
1790
- dependsOn(`scala3-library-bootstrappedJS`).
1791
- settings(
1792
- Test / fork := false ,
1793
- scalaJSUseMainModuleInitializer := true ,
1794
- libraryDependencies += (" org.scala-js" %%% " scalajs-dom" % " 1.1.0" ).withDottyCompat(scalaVersion.value)
1795
- )
1796
-
1797
- >>>>>>> 5b2ab78721 (Move to sbt slash syntax)
1798
1754
1799
1755
def asDist (implicit mode : Mode ): Project = project.
1800
1756
enablePlugins(PackPlugin ).
0 commit comments