Permalink
Browse files

renamed projects

  • Loading branch information...
1 parent 16d3804 commit 502bb523f9286a344f51d827cc6a8523ee2ef3af @eed3si9n eed3si9n committed Oct 12, 2011
Showing with 8 additions and 4 deletions.
  1. +1 −1 README.markdown
  2. +7 −3 project/build.scala
View
2 README.markdown
@@ -132,7 +132,7 @@ directory names also participate in template expansion, e.g.
src/main/g8/src/main/scala/$classname$.scala
If you enter sbt's interactive mode in the base directory of a
-template project, the action "sbt-test" will apply the template in the
+template project, the action "g8-sbt-test" will apply the template in the
default output directory (under `target/g8`) and run `sbt update test`
for *that* project in a forked process. This is a good sanity
check for templates that are supposed to produce sbt projects.
View
10 project/build.scala
@@ -7,7 +7,7 @@ object Builds extends sbt.Build {
version := "0.2.3-SNAPSHOT",
organization := "net.databinder",
scalaVersion := "2.9.1",
- crossScalaVersions := Seq("2.9.1"),
+ crossScalaVersions := Seq("2.9.1", "2.8.1"),
publishArtifact in (Compile, packageBin) := true,
publishArtifact in (Test, packageBin) := false,
publishArtifact in (Compile, packageDoc) := false,
@@ -22,9 +22,13 @@ object Builds extends sbt.Build {
)
// posterous title needs to be giter8, so both app and root are named giter8
- lazy val root = Project("giter8", file("."))
- lazy val app = Project("giter8", file("app"),
+ lazy val root = Project("root", file("."),
settings = buildSettings ++ Seq(
+ name := "giter8"
+ )) aggregate(app)
+ lazy val app = Project("app", file("app"),
+ settings = buildSettings ++ Seq(
+ name := "giter8",
libraryDependencies ++= {
Seq("org.scala-tools.sbt" % "launcher-interface" % "0.7.4" % "provided",
"net.databinder" %% "dispatch-lift-json" % "0.8.5",

0 comments on commit 502bb52

Please sign in to comment.