Skip to content

Commit 3a41c68

Browse files
Merge pull request #1 from ValentijnvdBeek/scala-point-update
Update Scala to avoid a compiler bug and add a README
2 parents 2d38d87 + 873d812 commit 3a41c68

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
CS4200: Compiler Construction Project Template
2+
======
3+
4+
This repository contains a template which allows students to implement
5+
labs for the CS4200 using a text editor or IDE of their own choice. Be
6+
aware that this template is provided by the course staff on a best
7+
effort basis and that no official support will be given. It is
8+
therefore recommended that assignments are done on Brightspace
9+
instead.
10+
11+
> **Warning**
12+
> Please do not forget to hand-in **all** assignments using
13+
> Brightspace, otherwise they *cannot* and *will not* be graded.
14+
15+
Dependencies
16+
------
17+
- [SBT](https://www.scala-sbt.org/)
18+
19+
Usage
20+
------
21+
- `sbt compile`: Separately compile the program.
22+
- `sbt run`: runs the main class of the program.
23+
- `sbt test`: execute all the tests of the program.
24+
- `sbt testQuick`: only execute the tests that failed or did not run
25+
before.
26+
- `sbt tasks`: an overview of the tasks that can be run.
27+
28+

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
ThisBuild / version := "0.1.0-SNAPSHOT"
22

3-
ThisBuild / scalaVersion := "2.12.2"
3+
ThisBuild / scalaVersion := "2.12.16"
44

55
lazy val root = (project in file("."))
66
.settings(
77
name := "cc-library"
88
)
99

1010
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "2.1.1"
11-
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.9" % "test"
11+
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.9" % "test"

0 commit comments

Comments
 (0)