0.1.1 • Published 10 years ago

gulp-yml v0.1.1

Weekly downloads
75
License
MIT
Repository
github
Last release
10 years ago

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.