Skip to content

Commit

Permalink
publishing 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
etorreborre committed May 15, 2012
1 parent 2e610f7 commit ca428ca
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 44 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2007-2011 Eric Torreborre <etorreborre@yahoo.com>
Copyright (c) 2007-2012 Eric Torreborre <etorreborre@yahoo.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
Expand Down
28 changes: 2 additions & 26 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import sbtrelease._
import Release._
import ReleaseKeys._

/** Project */
name := "specs2"

version := "1.10-SNAPSHOT"
version := "1.10"

organization := "org.specs2"

Expand Down Expand Up @@ -98,27 +94,7 @@ pomExtra := (
</developers>
)

seq(releaseSettings: _*)

releaseProcess <<= thisProjectRef apply { ref =>
import ReleaseStateTransformations._
Seq[ReleasePart](
initialGitChecks,
checkSnapshotDependencies,
releaseTask(check in Posterous in ref),
inquireVersions,
setReleaseVersion,
runTest,
commitReleaseVersion,
tagRelease,
releaseTask(publish in Global in ref),
releaseTask(publish in Posterous in ref),
setNextVersion,
commitNextVersion
)
}

seq(lsSettings :_*)

(LsKeys.ghBranch in LsKeys.lsync) := Some("1.9")
(LsKeys.ghBranch in LsKeys.lsync) <<= version { Some(_) }

8 changes: 4 additions & 4 deletions notes/1.10.markdown
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
This version adds new features on top of 1.9.0:
This version adds new features on top of 1.9:

* added a `skipAllUnless(condition)` to skip examples unless a condition is verified
* added a `CommandLineArguments` trait to access the command-line arguments and use them to build the specification or to specialize the examples behaviour
* added a `notoc` argument to avoid generating a table of contents
* added a [`CommandLineArguments` trait](http://etorreborre.github.com/specs2/guide/org.specs2.guide.Structure.html#Pass+arguments) to access the command-line arguments and use them to build the specification or to specialize the examples behaviour
* added a [`notoc` argument](http://etorreborre.github.com/specs2/guide/org.specs2.guide.Runners.html#API) to avoid generating a table of contents
* added the possibility to add a `css/specs2-user.css` file to customize the display of the html documentation
* a specification can be included in another one, to be executed at the same time, and not be displayed: `include(childSpec.hide)`
* a specification can be included in another one so that it will be executed at the same time [but not displayed](http://etorreborre.github.com/specs2/guide/org.specs2.guide.Structure.html#Html+link): `include(childSpec.hide)`
* added the possibility to change the directory where the html documentation is generated: `class S extends Specification { def is = "Guide".title.baseDirIs("guide") ^ end }`
* improved the error message when there is an `Error` thrown from an Example (see this [StackOverflow question](http://bit.ly/LlSNly))

Expand Down
12 changes: 2 additions & 10 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)

resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.5")
addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.6")

resolvers ++= Seq("less is" at "http://repo.lessis.me", "coda" at "http://repo.codahale.com")

addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")

addSbtPlugin("net.databinder" % "posterous-sbt" % "0.3.2")

resolvers += "gseitz@github.com" at "http://gseitz.github.com/maven/"

addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.4")
addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")
1 change: 0 additions & 1 deletion specs2.html.bat

This file was deleted.

1 change: 0 additions & 1 deletion specs2.run.bat

This file was deleted.

2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

version in ThisBuild := "1.7"
version in ThisBuild := "1.10"

0 comments on commit ca428ca

Please sign in to comment.