diff options
author | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2019-12-25 07:01:54 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2019-12-25 07:01:54 +0100 |
commit | 5ab64657bd31de0d86a17612e879e7bf9b165dcf (patch) | |
tree | eda1e134a8dbe9b74ffb804a31257f79c09d4e46 /js/gulpfile.js | |
parent | 5de8bed01e4959fabc26691a390fcc020b70e2ae (diff) |
Bump versions and remove outdated file (#583)
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'js/gulpfile.js')
-rw-r--r-- | js/gulpfile.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js index f312742b7..e5109cd97 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -16,13 +16,11 @@ const gulp = require('gulp'), terser = require('gulp-terser'), jshint = require('gulp-jshint'), KarmaServer = require('karma').Server, - phpunit = require('gulp-phpunit'), concat = require('gulp-concat'), sourcemaps = require('gulp-sourcemaps'); // Configuration const buildTarget = 'app.min.js'; -const phpunitConfig = __dirname + '/../phpunit.xml'; const karmaConfig = __dirname + '/karma.conf.js'; const destinationFolder = __dirname + '/build/'; const sources = [ @@ -42,7 +40,6 @@ const sources = [ 'directive/**/*.js' ]; const testSources = ['tests/**/*.js']; -const phpSources = ['../**/*.php', '!../js/**', '!../vendor/**']; const watchSources = sources.concat(testSources).concat(['*.js']); const lintSources = watchSources; @@ -81,14 +78,3 @@ gulp.task('watch-karma', (done) => { autoWatch: true }, done).start(); }); - -gulp.task('phpunit', () => { - return gulp.src(phpSources) - .pipe(phpunit('phpunit', { - configurationFile: phpunitConfig - })); -}); - -gulp.task('watch-phpunit', () => { - gulp.watch(phpSources, ['phpunit']); -}); |