xiaoyu860519 / gulp-check-gems

Check the presence of a RubyGem in your system and execute a task if found

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-check-gems

Build Status Dependencies npm module downloads per month

Check the presence of a RubyGem in your system and execute a task

Install

NPM

$ npm install --save-dev gulp-check-gems

This plugin requires Ruby and your path configured.

Usage

var gulp = require('gulp');
var sass = require('gulp-sass');
var scsslint = require('gulp-scss-lint');
var checkGem = require('gulp-check-gems');

gulp.task('sass', function () {
  return gulp.src('sass/global.scss')
    .pipe(checkGem({gemfile: 'scss-lint'},
      scsslint()
    ))
    .pipe(sass())
    .pipe(gulp.dest('dist'));
});

API

gemfile

  • Type: String
checkgem({
    gemfile: 'scss-lint'
});

Changelog

0.0.1 Initial release

  • initial code

License

MIT © 2015 David Dias

About

Check the presence of a RubyGem in your system and execute a task if found

License:MIT License


Languages

Language:JavaScript 100.0%