Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sbt build files reorganized and updated
- Loading branch information
1 parent
77376c9
commit f121e40
Showing
9 changed files
with
61 additions
and
73 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,5 +1,12 @@ | ||
bin/ | ||
target/ | ||
|
||
.idea/ | ||
.idea_modules/ | ||
.settings/ | ||
.cache | ||
.project | ||
.classpath | ||
*.iml | ||
.idea | ||
.idea_modules | ||
local-* | ||
*.ipr | ||
*.iws |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name := "dslparadise" | ||
|
||
scalaVersion in Global := "2.11.6" | ||
|
||
version in Global := "0.0.1-SNAPSHOT" | ||
|
||
organization in Global := "dslparadise" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import sbt._ | ||
import Keys._ | ||
|
||
object MyBuild extends Build { | ||
lazy val dslparadiseCompilation = Project( | ||
id = "dslparadise-compilation", | ||
base = file(".") | ||
) settings ( | ||
publishArtifact := false, | ||
run := { | ||
(run in dslparadiseSandbox in Compile).evaluated | ||
} | ||
) aggregate ( | ||
dslparadise, | ||
dslparadiseTypes | ||
) | ||
|
||
lazy val dslparadise = Project( | ||
id = "dslparadise", | ||
base = file("plugin") | ||
) settings ( | ||
libraryDependencies ++= Seq( | ||
"org.scala-lang" % "scala-compiler" % scalaVersion.value | ||
) | ||
) | ||
|
||
lazy val dslparadiseTypes = Project( | ||
id = "dslparadise-types", | ||
base = file("library") | ||
) | ||
|
||
lazy val dslparadiseSandbox = Project( | ||
id = "dslparadise-sandbox", | ||
base = file("sandbox") | ||
) settings ( | ||
publishArtifact := false, | ||
scalacOptions += "-Xplugin:" + (packageBin in Compile in dslparadise).value | ||
) dependsOn ( | ||
dslparadiseTypes, | ||
dslparadise | ||
) | ||
} |
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 +1 @@ | ||
sbt.version=0.13.0 | ||
sbt.version=0.13.8 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
scalacOptions := Seq("-feature", "-deprecation", "-unchecked", "-Xlint") |
This file was deleted.
Oops, something went wrong.