Skip to content

Commit

Permalink
Bintray release junk, docs, and errata.
Browse files Browse the repository at this point in the history
This commit adds bintray support, bumps the version, and
works around a really dumb Scaladoc bug.
  • Loading branch information
non committed Mar 6, 2014
1 parent 0495dba commit d6ff0b6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -13,15 +13,13 @@ Debox is available for Scala 2.10, and depends on Spire.

### Set up

*Debox is not yet published, so these instructions do not yet apply.*

If you have a Scala 2.10 which uses SBT, add the following to
`build.sbt`:

```
resolvers += "bintray/non" at "http://dl.bintray.com/non/maven"
libraryDependencies += "org.spire-math" %% "debox" % "0.3.0"
libraryDependencies += "org.spire-math" %% "debox" % "0.4.0"
```

### Debox Types
Expand Down
5 changes: 5 additions & 0 deletions build.sbt
@@ -0,0 +1,5 @@
seq(bintrayResolverSettings: _*)

seq(bintrayPublishSettings: _*)

licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
2 changes: 1 addition & 1 deletion project/Build.scala
Expand Up @@ -4,7 +4,7 @@ import sbt.Keys._
object MyBuild extends Build {
override lazy val settings = super.settings ++ Seq(
name := "debox",
version := "0.3.0",
version := "0.4.0",

scalaVersion := "2.10.3",

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=0.12.0
sbt.version=0.13.0
6 changes: 6 additions & 0 deletions project/plugins.sbt
@@ -0,0 +1,6 @@
resolvers += Resolver.url(
"bintray-sbt-plugin-releases",
url("http://dl.bintray.com/content/sbt/sbt-plugin-releases")
)(Resolver.ivyStylePatterns)

addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.1")
2 changes: 1 addition & 1 deletion src/main/scala/debox/Buffer.scala
Expand Up @@ -751,7 +751,7 @@ object Buffer {
* The identity value is an empty buffer, and the ++ operator is
* used to concatenate two buffers without modifying their contents.
*/
implicit def monoid[@sp A: ClassTag]: Monoid[Buffer[A]] =
implicit def monoid[@sp A: ClassTag] =
new Monoid[Buffer[A]] {
def id: Buffer[A] = Buffer.empty[A]
def op(lhs: Buffer[A], rhs: Buffer[A]): Buffer[A] = lhs ++ rhs
Expand Down

0 comments on commit d6ff0b6

Please sign in to comment.