Skip to content

Commit

Permalink
Fix scripted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Sep 6, 2016
1 parent d6cf84d commit 57fc6ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ lazy val plugin = project
addSbtPlugin(Library.sbtWeb),
scriptedSettings,
scriptedLaunchOpts += ("-Dproject.version=" + version.value),
scriptedLaunchOpts ++= sys.process.javaVmArguments.filter(
a => Seq("-Xmx", "-Xms", "-XX").exists(a.startsWith)
),
scriptedDependencies := {
val p1 = (publishLocal in core).value
val p2 = publishLocal.value
Expand Down
3 changes: 2 additions & 1 deletion plugin/src/sbt-test/paradox/site/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ lazy val docs = project
.enablePlugins(ParadoxPlugin)
.settings(
name := "Paradox Test",
paradoxLeadingBreadcrumbs := List("Alphabet" -> "https://abc.xyz/", "Google" -> "https://www.google.com")
paradoxLeadingBreadcrumbs := List("Alphabet" -> "https://abc.xyz/", "Google" -> "https://www.google.com"),
paradoxTheme := None
)
8 changes: 5 additions & 3 deletions plugin/src/sbt-test/paradox/snippets/build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
lazy val docs = project
.in(file("."))
.enablePlugins(ParadoxPlugin)
lazy val docs = (project in file(".")).
enablePlugins(ParadoxPlugin).
settings(
paradoxTheme := None
)

0 comments on commit 57fc6ca

Please sign in to comment.