{"size": 578, "ext": "js", "max_stars_repo_path": "gulpfile.js", "max_stars_repo_name": "zeemanliao/lineweb", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gulpfile.js", "max_issues_repo_name": "zeemanliao/lineweb", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "gulpfile.js", "max_forks_repo_name": "zeemanliao/lineweb", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.12, "max_line_length": 53, "alphanum_fraction": 0.5657439446}
var gulp = require('gulp'),
    less = require('gulp-less');

gulp.task('less', function() {
    gulp.src('./source/less/theme.less')
        .pipe(less())
        .pipe(gulp.dest('./public/dist/css/'))
});

gulp.task('watch', function() {
    gulp.watch('./source/less/theme.less', ['less']);
});

gulp.task('game', function() {
    gulp.src('./source/less/game.less')
        .pipe(less())
        .pipe(gulp.dest('./public/stylesheets/'))
});

gulp.task('wgame', function() {
    gulp.watch('./source/less/game.less', ['game']);
});

gulp.task('default', ['less', 'watch']);
