Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
project/target/
target/
13 changes: 12 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

enablePlugins(SbtOsgi)

organization := "com.vspy"

name := "mustache"

version := "1.2"
version := "1.3"

scalaVersion := "2.11.1"

Expand All @@ -13,3 +18,9 @@ libraryDependencies ++= Seq(
"org.specs2" %% "specs2" % "2.3.12" % "test->default",
"com.typesafe.akka" %% "akka-actor" % "2.3.3" % "test->default"
)

publishTo := Some("uxforms-public" at "s3://artifacts-public.uxforms.net")

osgiSettings

OsgiKeys.exportPackage := Seq("com.vspy.mustache")
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sbt.version=0.13.5
sbt.version=0.13.9

1 change: 1 addition & 0 deletions project/osgi.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.8.0")
1 change: 1 addition & 0 deletions project/sbt-s3.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.frugalmechanic" % "fm-sbt-s3-resolver" % "0.18.0")
2 changes: 1 addition & 1 deletion src/main/scala/Mustache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.lang.reflect.{Field=>F,Method=>M}
import scala.concurrent.{Await, Awaitable}
import scala.concurrent.duration._

package mustache {
package com.vspy.mustache {

case class MustacheParseException(line:Int, msg:String)
extends Exception("Line "+line+": "+msg)
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/ContextHandlerSpecification.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import scala.concurrent.ExecutionContext.Implicits.global
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object ContextHandlerSpecification extends SpecificationWithJUnit {

"context handler" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/DotNotationSpecification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object DotNotationSpecification extends SpecificationWithJUnit {

"mustache" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/EscapedTokenSpecification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object EscapedTokenSpecification extends SpecificationWithJUnit {

object SampleTemplate extends Mustache("")
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/HelpersSpecification.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.specs2.runner._

import java.security.MessageDigest

package mustache {
package com.vspy.mustache {
object HelperSpecification extends SpecificationWithJUnit {

object MD5 {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/Issue1Specification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object Issue1Specification extends SpecificationWithJUnit {

"mustache" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/Issue2Specification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object Issue2Specification extends SpecificationWithJUnit {

"mustache" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/Issue3Specification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object Issue3Specification extends SpecificationWithJUnit {

"mustache" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/LambdaSpecification.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.specs2.mutable._
import org.specs2.runner._


package mustache {
package com.vspy.mustache {
object LambdaSpecification extends SpecificationWithJUnit {

"mustache" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/ManPageExamplesSpecification.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.specs2.mutable._
import org.specs2.runner._


package mustache {
package com.vspy.mustache {
object ManPageExamplesSpecification extends SpecificationWithJUnit {

"mustache" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/ParserSpecification.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.specs2.mutable._
import org.specs2.runner._


package mustache {
package com.vspy.mustache {
object ParserSpecification extends SpecificationWithJUnit {

"parser" should {
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/PerformanceTest.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import scala.io.Source

package mustache {
package com.vspy.mustache {
object PerformanceTest {

def main(args: Array[String]) =
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/SectionTokenSpecification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object SectionTokenSpecification extends SpecificationWithJUnit {

object SampleTemplate extends Mustache("")
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/StaticTextTokenSpecification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object StaticTextTokenSpecification extends SpecificationWithJUnit {

object SampleTemplate extends Mustache("")
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/ValuesFormatterSpecification.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.specs2.mutable._
import org.specs2.runner._

package mustache {
package com.vspy.mustache {
object ValuesFormatterSpecification extends SpecificationWithJUnit {

"values formatter" should {
Expand Down