exclude gulpfile.js from Travis checks
This commit is contained in:
parent
d2f0c5c004
commit
5a8cf9a00f
3
.jscsrc
3
.jscsrc
|
@ -7,6 +7,7 @@
|
|||
"src/**/*.js",
|
||||
"js/core.js",
|
||||
"js/popper.js",
|
||||
"js/theme.js"
|
||||
"js/theme.js",
|
||||
"gulpfile.js"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -172,7 +172,8 @@ gulp.task( 'browser-sync', function() {
|
|||
// Run:
|
||||
// gulp watch-bs
|
||||
// Starts watcher with browser-sync. Browser-sync reloads page automatically on your browser
|
||||
gulp.task( 'watch-bs', ['browser-sync', 'watch', 'scripts'], function() { } );
|
||||
gulp.task( 'watch-bs', ['browser-sync', 'watch', 'scripts'], function() {
|
||||
} );
|
||||
|
||||
// Run:
|
||||
// gulp scripts.
|
||||
|
@ -250,7 +251,7 @@ gulp.task( 'copy-assets', function() {
|
|||
|
||||
// Deleting the files distributed by the copy-assets task
|
||||
gulp.task( 'clean-vendor-assets', function() {
|
||||
return del( [paths.dev + '/js/bootstrap4/**', paths.dev + '/sass/bootstrap4/**', './fonts/*wesome*.{ttf,woff,woff2,eot,svg}', paths.dev + '/sass/fontawesome/**', paths.dev + '/sass/underscores/**', paths.dev + '/js/skip-link-focus-fix.js', paths.js + '/**/skip-link-focus-fix.js', paths.js + '/**/popper.min.js', paths.js + '/**/popper.js', ( paths.vendor!==''?( paths.js + paths.vendor + '/**' ):'' )]);
|
||||
return del( [paths.dev + '/js/bootstrap4/**', paths.dev + '/sass/bootstrap4/**', './fonts/*wesome*.{ttf,woff,woff2,eot,svg}', paths.dev + '/sass/fontawesome/**', paths.dev + '/sass/underscores/**', paths.dev + '/js/skip-link-focus-fix.js', paths.js + '/**/skip-link-focus-fix.js', paths.js + '/**/popper.min.js', paths.js + '/**/popper.js', ( paths.vendor !== ''?( paths.js + paths.vendor + '/**' ):'' )] );
|
||||
});
|
||||
|
||||
// Run
|
||||
|
@ -261,7 +262,7 @@ gulp.task( 'dist', ['clean-dist'], function() {
|
|||
.pipe( replace( '/js/jquery.slim.min.js', '/js' + paths.vendor + '/jquery.slim.min.js', { 'skipBinary': true } ) )
|
||||
.pipe( replace( '/js/popper.min.js', '/js' + paths.vendor + '/popper.min.js', { 'skipBinary': true } ) )
|
||||
.pipe( replace( '/js/skip-link-focus-fix.js', '/js' + paths.vendor + '/skip-link-focus-fix.js', { 'skipBinary': true } ) )
|
||||
.pipe(gulp.dest( paths.dist ) );
|
||||
.pipe( gulp.dest( paths.dist ) );
|
||||
});
|
||||
|
||||
// Deleting any file inside the /dist folder
|
||||
|
|
Reference in New Issue