forked from titech-is-cs115/lx10
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
35 lines (21 loc) · 1.05 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 重要な注意:各設定の間に必ず空行を挿入して下さい。これをしないと sbt が起動しません。
name := "lx10" // プロジェクトの名称
version := "0.1.0" // プロジェクトのバージョン番号
scalaVersion := "2.11.7" // コンパイルに使う scalac のバージョン
scalacOptions ++= // scalac に与えるオプション
Seq("-optimize",
"-feature",
"-unchecked",
"-deprecation")
javaOptions in run ++= // 仮想機械に与えるオプション
Seq( "-Xmx2G", "-verbose:gc")
libraryDependencies += // テストのために使う ScalaTest ライブラリ
"org.scalatest" % "scalatest_2.11" % "2.2.5" % "test"
// sbt の挙動の設定
fork := true
connectInput := true
// ソースコードの在処を非標準の場所に設定
scalaSource in Compile := baseDirectory.value / "src"
scalaSource in Test := baseDirectory.value / "test"
// コンパイル結果を非標準の場所に設定
target := Path.userHome / "tmp" / "cs1f" / name.value