gulp-yml

v0.1.0
Compile YML files
gulpplugin gulp yaml yml

gulp-yml

Build Status

Detailed documentation will be writen soon...

Installation

Install plugin

npm install gulp-yml --save-dev

Add yml-compilation task into your gulp-file:

paths =
  build: "build"
  scripts: yml: "src/**/*.yml"

gulp.task "yml:compile", ->
  gulp
    .src( paths.scripts.yml )
    .pipe( yml( ).on( "error", gutil.log ) )
    .pipe( concat "all.yml" )
    .pipe( gulp.dest( paths.build ) )

Finish

Options

Plugin redirects passed options directly to js-yaml#safeLoad( ), so read its documentation for details.

Metadata

  • MIT
  • Whatever
  • Dmitry Lazutkin
  • released 5/6/2014

Downloads

Maintainers