-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
31 lines (23 loc) · 822 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
28
29
30
31
var gulp = require("gulp");
var coffee = require("gulp-coffee");
var uglify = require("gulp-uglify");
var concat = require("gulp-concat")
var heroku_folder = "/home/vlad/projects/vladlutkov-diploma/"
gulp.task("default", function() {
gulp.src("web_frontend/index.html")
.pipe(gulp.dest(heroku_folder + "site/"));
gulp.src("web_frontend/src/**/*.coffee")
.pipe(coffee())
.pipe(gulp.dest(heroku_folder + "site/lib/"));
gulp.src("web_frontend/lib/**/*.js")
.pipe(gulp.dest(heroku_folder + "site/lib/"));
gulp.src("web_frontend/lib/**/*.css")
.pipe(gulp.dest(heroku_folder + "site/lib/"));
gulp.src("web_backend/server.coffee")
.pipe(coffee())
.pipe(gulp.dest(heroku_folder));
gulp.src("Procfile")
.pipe(gulp.dest(heroku_folder));
gulp.src("package.json")
.pipe(gulp.dest(heroku_folder));
});