0.1.1 • Published 11 years ago
gulp-yml v0.1.1
gulp-yml
Detailed documentation will be writen soon...
Installation
Install plugin
npm install gulp-yml --save-devAdd 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.