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",
|
"src/**/*.js",
|
||||||
"js/core.js",
|
"js/core.js",
|
||||||
"js/popper.js",
|
"js/popper.js",
|
||||||
"js/theme.js"
|
"js/theme.js",
|
||||||
|
"gulpfile.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -161,7 +161,7 @@ gulp.task( 'cleancss', function() {
|
||||||
gulp.task( 'styles', function( callback ) {
|
gulp.task( 'styles', function( callback ) {
|
||||||
gulpSequence( 'sass', 'minifycss' )( callback );
|
gulpSequence( 'sass', 'minifycss' )( callback );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// Run:
|
// Run:
|
||||||
// gulp browser-sync
|
// gulp browser-sync
|
||||||
// Starts browser-sync task for starting the server.
|
// Starts browser-sync task for starting the server.
|
||||||
|
@ -172,7 +172,8 @@ gulp.task( 'browser-sync', function() {
|
||||||
// Run:
|
// Run:
|
||||||
// gulp watch-bs
|
// gulp watch-bs
|
||||||
// Starts watcher with browser-sync. Browser-sync reloads page automatically on your browser
|
// 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:
|
// Run:
|
||||||
// gulp scripts.
|
// gulp scripts.
|
||||||
|
@ -250,7 +251,7 @@ gulp.task( 'copy-assets', function() {
|
||||||
|
|
||||||
// Deleting the files distributed by the copy-assets task
|
// Deleting the files distributed by the copy-assets task
|
||||||
gulp.task( 'clean-vendor-assets', function() {
|
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
|
// 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/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/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( 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
|
// Deleting any file inside the /dist folder
|
||||||
|
|
Reference in New Issue