Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor to a multiple project configuration
remove onions' ColorScheme dependency from scurses update readme
- Loading branch information
Showing
39 changed files
with
86 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,29 @@ | ||
name := "Scurses" | ||
import sbt.Keys._ | ||
import sbt._ | ||
|
||
version := "1.0" | ||
|
||
scalaVersion := "2.11.7" | ||
lazy val commonSettings: Seq[Setting[_]] = Seq( | ||
version := "1.0", | ||
scalaVersion := "2.11.7", | ||
scalacOptions ++= Seq("-feature", "-unchecked") | ||
) | ||
|
||
scalacOptions ++= Seq("-feature", "-unchecked") | ||
lazy val root = (project in file(".")) | ||
.settings(commonSettings: _*) | ||
.aggregate(scurses, onions) | ||
|
||
libraryDependencies += "com.lihaoyi" %% "fastparse" % "0.2.1" | ||
lazy val scurses = (project in file("scurses")) | ||
.settings(commonSettings: _*) | ||
.settings( | ||
name := "Scurses", | ||
libraryDependencies += "com.lihaoyi" %% "fastparse" % "0.2.1", | ||
mainClass in (Compile, run) := Some("net.team2xh.scurses.examples.GameOfLife") | ||
) | ||
|
||
mainClass in (Compile, run) := Some("net.team2xh.scurses.examples.StressTest") | ||
lazy val onions = (project in file("onions")) | ||
.settings(commonSettings: _*) | ||
.dependsOn(scurses) | ||
.settings( | ||
name := "Onions", | ||
mainClass in (Compile, run) := Some("net.team2xh.onions.examples.ExampleUI") | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.