Skip to content

Commit

Permalink
sbt build files reorganized and updated
Browse files Browse the repository at this point in the history
  • Loading branch information
pweisenburger committed May 19, 2015
1 parent 77376c9 commit f121e40
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 73 deletions.
13 changes: 10 additions & 3 deletions .gitignore
@@ -1,5 +1,12 @@
bin/
target/

.idea/
.idea_modules/
.settings/
.cache
.project
.classpath
*.iml
.idea
.idea_modules
local-*
*.ipr
*.iws
1 change: 0 additions & 1 deletion .sbtrc

This file was deleted.

7 changes: 7 additions & 0 deletions build.sbt
@@ -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.
42 changes: 42 additions & 0 deletions project/Build.scala
@@ -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
)
}
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=0.13.0
sbt.version=0.13.8
1 change: 1 addition & 0 deletions project/build.sbt
@@ -0,0 +1 @@
scalacOptions := Seq("-feature", "-deprecation", "-unchecked", "-Xlint")
68 changes: 0 additions & 68 deletions project/build.scala

This file was deleted.

0 comments on commit f121e40

Please sign in to comment.