mumoshu / play2-typescript

TypeScript assets handling for Play 2.0. Compiles .ts files under the /assets dir along with the project.
Other
74 stars 14 forks source link

avoid overriding settings #21

Closed MasseGuillaume closed 10 years ago

mumoshu commented 10 years ago

Thanks @MasseGuillaume !

MasseGuillaume commented 10 years ago

you want to change the README to something like this:

usage

in build.sbt add

com.github.mumoshu.play2.typescript.TypeScriptPlugin.typescript

or in project/Build.scala

import com.github.mumoshu.play2.typescript.TypeScriptPlugin._

import sbt._
import Keys._
import PlayProject._

object ApplicationBuild extends Build {
  lazy  val main = PlayProject("App", "1.0", Seq()).settings(typescript)
}