From 0805c7c9b055424c94598e1affa46795abfbda5d Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Thu, 2 Jun 2011 18:35:25 -0400 Subject: [PATCH] add sbt-posterous plugin --- project/build/XSbt.scala | 2 +- project/plugins/Plugins.scala | 6 ++++++ sbt/notes/0.10.0.markdown | 18 ++++++++++++++++++ sbt/notes/about.markdown | 1 + 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 project/plugins/Plugins.scala create mode 100644 sbt/notes/0.10.0.markdown create mode 100644 sbt/notes/about.markdown diff --git a/project/build/XSbt.scala b/project/build/XSbt.scala index 8dde35b76..12f8a2036 100644 --- a/project/build/XSbt.scala +++ b/project/build/XSbt.scala @@ -312,7 +312,7 @@ class XSbt(info: ProjectInfo) extends ParentProject(info) with NoCrossPaths override def testCompileAction = super.testCompileAction dependsOn((testWithTestClasspath.map(_.testCompile) ++ testWithCompileClasspath.map(_.compile)) : _*) override def testClasspath = (super.testClasspath /: (testWithTestClasspath.map(_.testClasspath) ++ testWithCompileClasspath.map(_.compileClasspath) ))(_ +++ _) } - class Sbt(info: ProjectInfo) extends Base(info) with TestWith + class Sbt(info: ProjectInfo) extends Base(info) with TestWith with posterous.Publish { override def normalizedName = "sbt" override def testWithCompileClasspath = super.testWithCompileClasspath ++ Seq(scriptedSbtSub) diff --git a/project/plugins/Plugins.scala b/project/plugins/Plugins.scala new file mode 100644 index 000000000..89434667f --- /dev/null +++ b/project/plugins/Plugins.scala @@ -0,0 +1,6 @@ +import sbt._ + +class Plugins(info: ProjectInfo) extends PluginDefinition(info) +{ + val posterous = "net.databinder" % "posterous-sbt" % "0.1.7" +} \ No newline at end of file diff --git a/sbt/notes/0.10.0.markdown b/sbt/notes/0.10.0.markdown new file mode 100644 index 000000000..a42a83aab --- /dev/null +++ b/sbt/notes/0.10.0.markdown @@ -0,0 +1,18 @@ +This is a major redesign of sbt, so only prominent changes are listed: + + * New configuration system + * New task engine + * New multiple project support + * More aggressive incremental recompilation for both Java and Scala sources + * Merged plugins and processors into improved plugins system + * Web application and webstart support moved to plugins instead of core features + * Fixed all of the issues in (Google Code) issue #44 + * Managed dependencies automatically updated when configuration changes + * `update-sbt-classifiers` and `update-classifiers` tasks for resolving sources and/or javadocs for dependencies, transitively + * Improved artifact handling and configuration + * Tab completion parser combinators for commands and input tasks + * Project definitions are in Scala 2.8.1 + +Note that the project has completely moved to GitHub now: + +Documentation may be found at \ No newline at end of file diff --git a/sbt/notes/about.markdown b/sbt/notes/about.markdown new file mode 100644 index 000000000..20e7b7cf2 --- /dev/null +++ b/sbt/notes/about.markdown @@ -0,0 +1 @@ +[sbt](https://github.com/harrah/xsbt) is a Scala build tool. \ No newline at end of file