Skip to content

Commit e0cbebb

Browse files
authored
Merge pull request #633 from SethTisue/add-scala-debugger
add scala-debugger (and scallop)
2 parents 708bdf5 + b339579 commit e0cbebb

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

configs/community.dbuild

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,14 @@ build += {
12281228
extra.test-tasks: ["compile"]
12291229
}
12301230

1231+
// dependency of scala-debugger. we track the develop branch, since
1232+
// master seems neglected/outdated
1233+
${vars.base} {
1234+
name: "scallop"
1235+
uri: ${vars.uris.scallop-uri}
1236+
extra.projects: ["jvm"] // no Scala.js or Scala Native plz
1237+
}
1238+
12311239
]}
12321240

12331241
//// space: jawn_0_10
@@ -1341,6 +1349,21 @@ build += {
13411349
extra.test-tasks: "compile"
13421350
}
13431351

1352+
// depends on ammonite
1353+
${vars.base} {
1354+
name: "scala-debugger"
1355+
uri: ${vars.uris.scala-debugger-uri}
1356+
extra.exclude: [
1357+
// no sbt plugins plz!
1358+
"sbtScalaDebuggerPlugin"
1359+
// Missing dependency: the library org.senkbeil#grus-layouts
1360+
"scalaDebuggerDocs"
1361+
]
1362+
// java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
1363+
// perhaps only the -Xmx is really necessary, but let's try it with all of the repo's own .jvmopts:
1364+
extra.options: ["-Xms1g", "-Xmx4g", "-Xss2m", "-XX:MaxMetaspaceSize=256m"]
1365+
}
1366+
13441367
// (here in this space because of ammonite-ops dependency)
13451368
// forked (refreshed September 2017) to remove coursier
13461369
// caution, refreshing the fork any further can be problematic;

configs/project-refs.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ vars.uris: {
7777
scala-async-uri: "https://github.com/scala/scala-async.git"
7878
scala-collections-laws-uri: "https://github.com/Ichoran/scala-collections-laws.git#upgrade-to-2.12.2"
7979
scala-continuations-uri: "https://github.com/scala/scala-continuations.git"
80+
scala-debugger-uri: "https://github.com/ensime/scala-debugger.git"
8081
scala-gopher-uri: "https://github.com/rssh/scala-gopher.git"
8182
scala-java8-compat-uri: "https://github.com/scala/scala-java8-compat.git"
8283
scala-js-uri: "https://github.com/scala-js/scala-js.git"
@@ -110,6 +111,7 @@ vars.uris: {
110111
scalatex-uri: "https://github.com/lihaoyi/scalatex.git"
111112
scalaz-uri: "https://github.com/scalaz/scalaz.git#series/7.2.x"
112113
scalikejdbc-uri: "https://github.com/scalikejdbc/scalikejdbc.git"
114+
scallop-uri: "https://github.com/scallop/scallop.git#develop"
113115
scodec-bits-uri: "https://github.com/scodec/scodec-bits.git#series/1.1.x"
114116
scodec-uri: "https://github.com/scodec/scodec.git#series/1.10.x"
115117
scopt-uri: "https://github.com/scopt/scopt.git#scopt3"

0 commit comments

Comments
 (0)