MCPcopy Create free account
hub / github.com/BinaryMuse/planetary.js / build

Function build

gulpfile.js:24–29  ·  view source on GitHub ↗
(source, name, headerText, minify)

Source from the content-addressed store, hash-verified

22var nonPluginSource = gulp.src(['./src/_umd_header.js', './src/body.js', './src/_umd_footer.js']);
23
24function build(source, name, headerText, minify) {
25 var js = source.pipe(concat(name));
26 if (minify) { js = js.pipe(uglify()); }
27 js = js.pipe(header(headerText, { version: metadata.version }));
28 js.pipe(replace("\r\n", "\n")).pipe(gulp.dest('./dist'));
29}
30
31gulp.task('jshint', function() {
32 gulp.src(['./src/body.js', './src/plugins.js'])

Callers 1

gulpfile.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected