Skip to content

hedefalk/sbt-gulp-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-gulp-task

Simply stolen from https://github.com/parkotron/sbt-grunt-task

####plugins.sbt addSbtPlugin("se.woodenstake" %% "sbt-gulp-task" % "0.1")

####build.sbt import se.woodenstake.SbtGulpTask

…

SbtGulpTask.gulpTaskSettings

####Working with the plugin Your package.json and gulpfile.js should be in the root of your project:

gulp

will run the default gulp task

gulp-task <taskname>

will run the specified task by name

####Useful other SBT commands

watchSources <++= baseDirectory map { path => ((path / "src" / "main" / "webapp" / "app" ) ** "*.js").get }

Will allow the task to run on every file change (in this case just js files) in the specified folder when you run gulp with

~ gulp

or

~ gulp-task <taskname>

About

SBT plugin to run gulp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages