-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Aug 22, 2014
1 parent
f90e92f
commit aae1976
Showing
23 changed files
with
204 additions
and
16,351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"/build/script.js": [ | ||
"/js/md5.js", | ||
"/js/underscore-min.js", | ||
"/js/jquery-1.10.2.min.js", | ||
"/js/bootstrap.min.js", | ||
"/js/jquery.highlight.js", | ||
"/js/jquery.tablesorter.min.js", | ||
"/js/jquery.tablesorter.pager.js", | ||
"/js/jquery.tablesorter.widgets.min.js", | ||
"/js/parsers/parser-file-type.js", | ||
"/js/widgets/widget-grouping.js", | ||
"/js/typeahead.bundle.js", | ||
"/js/jquery.flot.js", | ||
"/js/jquery.flot.categories.js", | ||
"/js/jquery.flot.stack.js", | ||
"/js/jquery.flot.pie.js", | ||
"/js/jquery.flot.axislabels.js", | ||
"/js/jquery.gravatar.js", | ||
"/js/d3.min.js", | ||
"/js/searchWidget.js", | ||
"/js/script.js" | ||
], | ||
"/build/style.css": [ | ||
"/css/bootstrap.min.css", | ||
"/css/bootstrap-theme.min.css", | ||
"/css/font-awesome.min.css", | ||
"/css/theme.bootstrap.css", | ||
"/css/theme.bootstrap_2.css", | ||
"/css/style.css" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
var assets = require('./assets'); | ||
|
||
var _ = require('underscore'); | ||
var gulp = require('gulp'); | ||
var gutil = require('gulp-util'); | ||
var clean = require('gulp-clean'); | ||
var concat = require('gulp-concat'); | ||
var uglify = require('gulp-uglify'); | ||
var cleancss = require('gulp-minify-css'); | ||
|
||
gulp.task('clean', function () { | ||
return gulp.src('public/build', {read: false}) | ||
.pipe(clean()) | ||
}); | ||
|
||
gulp.task('js', function() { | ||
return gulp.src(_.map(assets['/build/script.js'], function(p) { return 'public'+p })) | ||
.pipe(concat('script.js')) | ||
.pipe(uglify()) | ||
.pipe(gulp.dest('public/build')) | ||
.on('error', gutil.log) | ||
}); | ||
|
||
gulp.task('css', function() { | ||
return gulp.src(_.map(assets['/build/style.css'], function(p) { return 'public'+p })) | ||
.pipe(concat('style.css')) | ||
.pipe(cleancss()) | ||
.pipe(gulp.dest('public/build')) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.