0.0.4 • Published 10 years ago

gulp-intern v0.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

An easy way to run intern scripts from a build script.

To make use simply require gulp-intern and give it the config file and, optionally, the working directory.

var intern = require('gulp-intern');

//...

gulp.task('typescript', function(){

  gulp.src(config.typescript.input)
  .pipe(tsc())
  .pipe(gulp.dest("Scripts"))
  .pipe(intern({
    config:"tests/intern",
    runType: "client", // defaults to "client", use "runner" if you want to run functional tests
    workingDir: 'Scripts'
  }));

});

This script is, in effect, a wrapper for just calling the command line version of intern. Configuration is done in the configuration file instead of through gulp.

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago