1
0

refactor main App for better code re-use

This commit is contained in:
Howard Mao
2016-08-11 16:15:23 -07:00
parent a756856d84
commit fb476d193c
2 changed files with 67 additions and 40 deletions

View File

@ -37,7 +37,7 @@ object BuildSettings extends Build {
a.split(" ")
},
unmanagedSourceDirectories in Compile ++= addons.value.map(baseDirectory.value / _ / "src/main/scala"),
mainClass in (Compile, run) := Some("rocketchip.TestGenerator"),
mainClass in (Compile, run) := Some("rocketchip.RocketChipGenerator"),
make := {
val jobs = java.lang.Runtime.getRuntime.availableProcessors
val (makeDir, target) = setMake.parsed