Skip to content

Karasiq/sbt-gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-gulp

SBT plugin for auto compilation of Gulp.js assets

Usage

In project/plugins.sbt:

addSbtPlugin("com.github.karasiq" % "sbt-gulp" % "1.0.2")

In build.sbt:

enablePlugins(GulpPlugin)

Settings

Default settings, can be overriden

gulpAssets in Compile := file("webapp")

gulpTask in Compile := "compile"

gulpOutput in Compile := gulpAssets.value / "out"

gulpDest in Compile := resourceManaged.value / "webapp"

Using with Scala.js

Add dependency in build.sbt:

gulpCompile in Compile := (gulpCompile in Compile)
  .dependsOn(fullOptJS in Compile in yourScalaJsProject)
  .value

About

SBT plugin for auto compilation of Gulp.js assets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages