added gitignore

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-29 13:38:52 +01:00
parent 95bb0c3919
commit fbb9f9b745
3868 changed files with 12 additions and 11 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
static/images/thumbnails/

View File

@@ -4,40 +4,40 @@ var gulp = require('gulp'),
concat = require('gulp-concat'); concat = require('gulp-concat');
gulp.task('js', function () { 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({ .pipe(uglify({
mangle: true, mangle: true,
compress: true, compress: true,
enclose: true enclose: true
})) }))
.pipe(concat('main.min.js')) .pipe(concat('main.min.js'))
.pipe(gulp.dest('../static/dist')); .pipe(gulp.dest('static/dist'));
}); });
gulp.task('nochan', function () { gulp.task('nochan', function () {
gulp.src(['../static/js/nochan.js']) gulp.src(['static/js/nochan.js'])
.pipe(uglify({ .pipe(uglify({
mangle: true, mangle: true,
compress: true, compress: true,
enclose: true enclose: true
})) }))
.pipe(concat('frontpage.min.js')) .pipe(concat('frontpage.min.js'))
.pipe(gulp.dest('../static/dist')); .pipe(gulp.dest('static/dist'));
}); });
gulp.task('remotecontroller', function () { gulp.task('remotecontroller', function () {
gulp.src(['../static/js/remotecontroller.js']) gulp.src(['static/js/remotecontroller.js'])
.pipe(uglify({ .pipe(uglify({
mangle: true, mangle: true,
compress: true, compress: true,
enclose: true enclose: true
})) }))
.pipe(concat('remote.min.js')) .pipe(concat('remote.min.js'))
.pipe(gulp.dest('../static/dist')); .pipe(gulp.dest('static/dist'));
}); });
gulp.task('default', function(){ gulp.task('default', function(){
gulp.watch('../static/js/*.js', ['js']); gulp.watch('static/js/*.js', ['js']);
gulp.watch('../static/js/nochan.js', ['nochan']); gulp.watch('static/js/nochan.js', ['nochan']);
gulp.watch('../static/js/remotecontroller.js', ['remotecontroller']); gulp.watch('static/js/remotecontroller.js', ['remotecontroller']);
}); });

Some files were not shown because too many files have changed in this diff Show More