Description: Skip unused actions in Gulp build system.
 .
 Not all the actions in the Gulp build system can be performed yet by
 Debian packages. We disabled the actions not used in the Debian
 package build.
Author: Ben Finney <bignose@debian.org>
Last-Update: 2018-02-25

diff --git old/gulpfile.js new/gulpfile.js
index e9699eab..50a8e055 100644
--- old/gulpfile.js
+++ new/gulpfile.js
@@ -1,14 +1,6 @@
 var gulp = require('gulp'),
     coffee = require('gulp-coffee'),
     concat = require('gulp-concat'),
-    umd = require('gulp-umd'),
-    uglify = require('gulp-uglify'),
-    rename = require("gulp-rename"),
-    cssmin = require('gulp-cssmin'),
-    jasmine = require('gulp-jasmine-phantom'),
-    bump = require('gulp-bump'),
-    header = require('gulp-header'),
-    debug = require('gulp-debug'),
     util = require('gulp-util');
 
 var name = 'jquery.atwho';
@@ -34,70 +26,3 @@ gulp.task('concat', function() {
         .pipe(concat(name + ".js"))
         .pipe(gulp.dest('build'));
 });
-
-gulp.task('umd', function() {
-  gulp.src('build/' + name + ".js")
-    .pipe(umd({template: "umd.template.js"}))
-    .pipe(gulp.dest('build/js'));
-});
-
-gulp.task('bump', function() {
-    gulp.src(['bower.json', 'component.json', 'package.json'])
-        .pipe(bump({version: "1.5.4"}))
-        .pipe(gulp.dest('./'));
-});
-
-gulp.task("mark", function() {
-    var pkg = require('./package.json');
-    var banner = ['/**',
-      ' * <%= pkg.name %> - <%= pkg.version %>',
-      ' * Copyright (c) <%= year %> <%= pkg.author.name %> <<%= pkg.author.email %>>;',
-      ' * Homepage: <%= pkg.homepage %>',
-      ' * License: <%= pkg.license %>',
-      ' */',
-      ''].join('\n');
-
-    gulp.src('build/js/' + name + '.js')
-      .pipe(header(banner, { pkg : pkg, year: (new Date).getFullYear()}))
-      .pipe(gulp.dest('dist/js/'))
-});
-
-gulp.task('compress', function() {
-    gulp.src('dist/js/' + name + '.js')
-        .pipe(uglify())
-        .pipe(rename({suffix: '.min'}))
-        .pipe(gulp.dest('dist/js'));
-
-    gulp.src('src/jquery.atwho.css').pipe(gulp.dest('dist/css'))
-    gulp.src('dist/css/' + name + '.css')
-        .pipe(cssmin())
-        .pipe(rename({suffix: '.min'}))
-        .pipe(gulp.dest('dist/css'));
-});
-
-gulp.task('test', function () {
-    gulp.src('spec/**/*.coffee')
-        .pipe(coffee({bare: true}).on('error', util.log))
-        .pipe(debug({title: "compiled specs"}))
-        .pipe(gulp.dest('spec/build'))
-
-    gulp.src('spec/build/javascripts/*.spec.js')
-        .pipe(jasmine({
-            integration: true,
-            specHtml: "specRunner.html"
-            /* TODO: have to add css to spec
-            vendor: [
-                'bower_components/jquery/dist/jquery.js',
-                'bower_components/Caret.js/dist/jquery.caret.js',
-                'dist/js/jquery.atwho.js',
-                'node_modules/jasmine-jquery/lib/*.js',
-                'node_modules/jasmine-ajax/lib/*.js',
-                'spec/helpers/*.js',
-                'spec/build/spec_helper.js'
-            ],
-            */
-        }));
-});
-
-gulp.task('compile', ['coffee', 'umd', 'concat']);
-gulp.task('default', ['compile', 'bump', 'mark', 'compress']);


Local variables:
coding: utf-8
mode: diff
time-stamp-format: "%:y-%02m-%02d"
time-stamp-start: "^Last-Update:[ 	]+"
time-stamp-end: "$"
time-stamp-line-limit: 20
End:
vim: fileencoding=utf-8 filetype=diff :
