-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
35 lines (31 loc) · 1 KB
/
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
28
29
30
31
32
33
34
35
var gulp = require('gulp');
var wiredep = require('wiredep');
var concat = require('gulp-concat');
gulp.task('concat', function(){
gulp.src(["./scripts/app.js",
"./scripts/settings.js",
"./scripts/config.js",
"./scripts/directives/date.js",
"./scripts/directives/time.js",
"./scripts/filters/correct.js",
"./scripts/filters/date.js",
"./scripts/filters/partition.js",
"./scripts/models/app.js",
"./scripts/models/user.js",
"./scripts/models/chemical_report.js",
"./scripts/models/bacteria_report.js",
"./scripts/models/report.js",
"./scripts/controllers/user.js",
"./scripts/controllers/report.js",
"./scripts/controllers/login.js"])
.pipe(concat('all.js', {newLine: ';'}))
.pipe(gulp.dest('./dist/'))
});
gulp.task('bower', function () {
wiredep({
directory: 'bower_components',
src: './index.html',
bowerJson: require('./bower.json')
});
});
gulp.task('default', function(){});