Add less build for styles

This commit is contained in:
Matt 2016-04-12 22:06:06 -04:00
parent 83a464b23c
commit e4e8321e39
3 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,6 @@
#log{
position: fixed;
bottom: 0;
width: 100%;
height: 100px;
}

19
app/css/app.less Normal file
View File

@ -0,0 +1,19 @@
#footer{
position: fixed;
bottom: 0;
width: 100%;
height: 100px;
}
#log{
position: fixed;
width: 700px;
}
#status{
position: fixed;
width: 100px;
right: 0;
}

View File

@ -1,4 +1,5 @@
var gulp = require('gulp'), var gulp = require('gulp'),
less = require('gulp-less'),
concat = require('gulp-concat'); concat = require('gulp-concat');
var scripts = [ var scripts = [
@ -16,4 +17,10 @@ gulp.task('js', function () {
.pipe(gulp.dest('./js/')); .pipe(gulp.dest('./js/'));
}); });
gulp.task('default', ['js']); gulp.task('less', function () {
return gulp.src('./css/*.less')
.pipe(less())
.pipe(gulp.dest('./css'));
});
gulp.task('default', ['js', 'less']);