mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
added gitignore
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
static/images/thumbnails/
|
||||
@@ -4,40 +4,40 @@ var gulp = require('gulp'),
|
||||
concat = require('gulp-concat');
|
||||
|
||||
gulp.task('js', function () {
|
||||
gulp.src(['../static/js/*.js', '!../static/js/nochan*', '!../static/js/remotecontroller.js'])
|
||||
gulp.src(['static/js/*.js', '!static/js/nochan*', '!static/js/remotecontroller.js'])
|
||||
.pipe(uglify({
|
||||
mangle: true,
|
||||
compress: true,
|
||||
enclose: true
|
||||
}))
|
||||
.pipe(concat('main.min.js'))
|
||||
.pipe(gulp.dest('../static/dist'));
|
||||
.pipe(gulp.dest('static/dist'));
|
||||
});
|
||||
|
||||
gulp.task('nochan', function () {
|
||||
gulp.src(['../static/js/nochan.js'])
|
||||
gulp.src(['static/js/nochan.js'])
|
||||
.pipe(uglify({
|
||||
mangle: true,
|
||||
compress: true,
|
||||
enclose: true
|
||||
}))
|
||||
.pipe(concat('frontpage.min.js'))
|
||||
.pipe(gulp.dest('../static/dist'));
|
||||
.pipe(gulp.dest('static/dist'));
|
||||
});
|
||||
|
||||
gulp.task('remotecontroller', function () {
|
||||
gulp.src(['../static/js/remotecontroller.js'])
|
||||
gulp.src(['static/js/remotecontroller.js'])
|
||||
.pipe(uglify({
|
||||
mangle: true,
|
||||
compress: true,
|
||||
enclose: true
|
||||
}))
|
||||
.pipe(concat('remote.min.js'))
|
||||
.pipe(gulp.dest('../static/dist'));
|
||||
.pipe(gulp.dest('static/dist'));
|
||||
});
|
||||
|
||||
gulp.task('default', function(){
|
||||
gulp.watch('../static/js/*.js', ['js']);
|
||||
gulp.watch('../static/js/nochan.js', ['nochan']);
|
||||
gulp.watch('../static/js/remotecontroller.js', ['remotecontroller']);
|
||||
gulp.watch('static/js/*.js', ['js']);
|
||||
gulp.watch('static/js/nochan.js', ['nochan']);
|
||||
gulp.watch('static/js/remotecontroller.js', ['remotecontroller']);
|
||||
});
|
||||
0
server/node_modules/gulp-concat/README.md → node_modules/gulp-concat/README.md
generated
vendored
0
server/node_modules/gulp-concat/README.md → node_modules/gulp-concat/README.md
generated
vendored
0
server/node_modules/gulp-concat/index.js → node_modules/gulp-concat/index.js
generated
vendored
0
server/node_modules/gulp-concat/index.js → node_modules/gulp-concat/index.js
generated
vendored
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user