From 5bc6ab6a5e58d5768ea66d05d4f5f787475d346d Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Tue, 24 Jun 2014 22:17:14 +0400 Subject: [PATCH 1/3] Add bintray publishing --- build.sbt | 10 ++++++++-- project/bintray.sbt | 6 ++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 project/bintray.sbt diff --git a/build.sbt b/build.sbt index 9744c29..9182ba0 100644 --- a/build.sbt +++ b/build.sbt @@ -1,12 +1,18 @@ +bintrayPublishSettings + name := "mustache" +organization := "com.vspy" + version := "1.2" scalaVersion := "2.11.1" -resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" +resolvers ++= Seq( + "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/", + "Typesafe Snapshots Repository" at "http://repo.typesafe.com/typesafe/snapshots/") -resolvers += "Typesafe Snapshots Repository" at "http://repo.typesafe.com/typesafe/snapshots/" +licenses += ("MIT", url("http://opensource.org/licenses/MIT")) libraryDependencies ++= Seq( "junit" % "junit" % "4.8.1" % "test->default", diff --git a/project/bintray.sbt b/project/bintray.sbt new file mode 100644 index 0000000..c8cd642 --- /dev/null +++ b/project/bintray.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") From fe7e616b01be64c144daebb63459b11b72dc0f9b Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Tue, 24 Jun 2014 22:34:45 +0400 Subject: [PATCH 2/3] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 752154b..88abc3f 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,17 @@ What is Mustache? As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language". +Installation +------------ + +The artifacts for *mustache* live on Bintray and can be tied into your SBT-based Scala project like this: + +```scala +resolvers += "bintray-alexander_myltsev" at "http://dl.bintray.com/content/alexander-myltsev/maven" + +libraryDependencies += "com.vspy" %% "mustache" % "1.2" +``` + Usage ----- From 754b3a42bfb20ed059485809834429ed377718e9 Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Tue, 24 Jun 2014 22:36:09 +0400 Subject: [PATCH 3/3] Extend contributors --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 88abc3f..4001265 100644 --- a/README.md +++ b/README.md @@ -117,5 +117,12 @@ I’m not a lawyer and this is not a legal advice, but it is free to use in any Enjoy ! +Contributors +------------ + +Victor Bilyk (https://github.com/vspy) + +Alexander Myltsev (https://github.com/alexander-myltsev) + [1]: http://github.com/defunkt/mustache [2]: http://code.google.com/p/simple-build-tool/