-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
73 lines (66 loc) · 2.02 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name := course.value + "-" + assignment.value
scalaVersion := "2.11.7"
scalacOptions ++= Seq("-deprecation")
// grading libraries
libraryDependencies += "junit" % "junit" % "4.10" % "test"
// for funsets
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4"
// include the common dir
commonSourcePackages += "common"
courseId := "bRPXgjY9EeW6RApRXdjJPw"
// See documentation in ProgFunBuild.scala
assignmentsMap := {
val styleSheetPath = (baseDirectory.value / ".." / ".." / "project" / "scalastyle_config.xml").getPath
Map(
"example" -> Assignment(
packageName = "example",
key = "g4unnjZBEeWj7SIAC5PFxA",
itemId = "xIz9O",
partId = "d5jxI",
maxScore = 10d,
styleScoreRatio = 0.2,
styleSheet = styleSheetPath),
"recfun" -> Assignment(
packageName = "recfun",
key = "SNYuDzZEEeWNVyIAC92BaQ",
itemId = "Ey6Jf",
partId = "PzVVY",
maxScore = 10d,
styleScoreRatio = 0.2,
styleSheet = styleSheetPath),
"funsets" -> Assignment(
packageName = "funsets",
key = "FNHHMDfsEeWAGiIAC46PTg",
itemId = "BVa6a",
partId = "IljBE",
maxScore = 10d,
styleScoreRatio = 0.2,
styleSheet = styleSheetPath),
"objsets" -> Assignment(
packageName = "objsets",
key = "6PTXvD99EeWAiCIAC7Pj9w",
itemId = "Ogg05",
partId = "7hlkb",
maxScore = 10d,
styleScoreRatio = 0.2,
styleSheet = styleSheetPath,
options = Map("grader-timeout" -> "1800")),
"patmat" -> Assignment(
packageName = "patmat",
key = "BwkTtD9_EeWFZSIACtiVgg",
itemId = "uctOq",
partId = "2KYZc",
maxScore = 10d,
styleScoreRatio = 0.2,
styleSheet = styleSheetPath),
"forcomp" -> Assignment(
packageName = "forcomp",
key = "CPJe397VEeWLGArWOseZkw",
itemId = "nVRPb",
partId = "v2XIe",
maxScore = 10d,
styleScoreRatio = 0.2,
styleSheet = styleSheetPath,
options = Map("grader-timeout" -> "1800"))
)
}