diff options
Diffstat (limited to 'project/Build.scala')
-rw-r--r-- | project/Build.scala | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/project/Build.scala b/project/Build.scala index c7e1518aa..145e3eb85 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -6,6 +6,12 @@ object DottyBuild extends Build { val TRAVIS_BUILD = "dotty.travis.build" + val agentOptions = List( + // "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005", + // "-agentpath:/home/dark/opt/yjp-2013-build-13072/bin/linux-x86-64/libyjpagent.so" + ) + + val defaults = Defaults.defaultSettings ++ Seq( // set sources to src/, tests to test/ and resources to resources/ scalaSource in Compile := baseDirectory.value / "src", @@ -55,12 +61,12 @@ object DottyBuild extends Build { // System.err.println("BOOTPATH: " + fullpath) val travis_build = // propagate if this is a travis build - if (sys.props.isDefinedAt(TRAVIS_BUILD)) + if (sys.props.isDefinedAt(TRAVIS_BUILD)) List(s"-D$TRAVIS_BUILD=${sys.props(TRAVIS_BUILD)}") - else + else List() - travis_build ::: fullpath + agentOptions ::: travis_build ::: fullpath } ) |