Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#30 Replacing untyped sbtjs #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ pomExtra := (

licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0.html"))

Seq(com.untyped.sbtjs.Plugin.jsSettings : _*)
(sourceDirectory in (Compile, JsKeys.js)) := (sourceDirectory in Compile).value / "js"
(resourceManaged in (Compile, JsKeys.js)) := (resourceManaged in Compile).value / "toserve" / "net" / "liftmodules" / "ng" / "js"
(JsKeys.filenameSuffix in Compile) := "-" + version.value + ".min"
(resourceGenerators in Compile) += (JsKeys.js in Compile)
Seq(yuiSettings: _*)
unmanagedResourceDirectories in (Compile, YuiCompressorKeys.jsResources) += { (sourceDirectory in Compile).value / "js" }
resourceManaged in (Compile, YuiCompressorKeys.jsCompressor) := (resourceManaged in Compile).value / "toserve" / "net" / "liftmodules" / "ng" / "js"
YuiCompressorKeys.minSuffix := "-" + version.value + ".min"

copyJs

// Jasmine stuff
Expand Down
2 changes: 0 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ resolvers += Resolver.bintrayIvyRepo("untyped", "ivy")

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.3.2")

addSbtPlugin("com.untyped" % "sbt-js" % "0.8") // https://github.com/untyped/sbt-plugins

addSbtPlugin("com.joescii" % "sbt-jasmine-plugin" % "1.3.0")

addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC3")
6 changes: 6 additions & 0 deletions project/project/Plugin.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import sbt._

object PluginDef extends Build {
lazy val root = Project("plugins", file(".")) dependsOn(yuiCompressorPlugin)
lazy val yuiCompressorPlugin = uri("git://github.com/indrajitr/sbt-yui-compressor.git#89304ec0c988183d1f1a889e665e0269fe513031")
}