forked from kakao/hbase-region-inspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
27 lines (24 loc) · 890 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// http://engineroom.teamwork.com/hassle-free-third-party-dependencies/
var gulp = require('gulp');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var base = 'bower_components/**/'
gulp.task('default', function() {
gulp.src(['dist/jquery', 'jquery-ui', 'react', 'react-dom', 'husl', 'spin',
'bootstrap', 'html2canvas'].map(function(n) { return base + n + '.min.js' })
.concat([base + 'underscore-min.js']))
.pipe(concat('vendor.js'))
.pipe(gulp.dest('resources/public/js/'))
gulp.src(base + 'bootstrap.min.css')
.pipe(rename(function(path) {
path.dirname = "";
return path;
}))
.pipe(gulp.dest('resources/public/css/'))
gulp.src(base + 'glyphicons-halflings*')
.pipe(rename(function(path) {
path.dirname = "";
return path;
}))
.pipe(gulp.dest('resources/public/fonts/'))
});