Changes for Codeship CI

This commit is contained in:
Colin McLeod
2015-06-11 13:51:28 -07:00
parent df77d7680c
commit 456c63fe55
3 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
[![Tasks in Ready](https://badge.waffle.io/cmmcleod/coriolis.png?label=ready&title=Ready)](https://waffle.io/cmmcleod/coriolis) [![Tasks in Progress](https://badge.waffle.io/cmmcleod/coriolis.svg?label=in%20progress&title=In%20Progress)](http://waffle.io/cmmcleod/coriolis)
[ ![Codeship Status for cmmcleod/coriolis](https://codeship.com/projects/637858c0-f2a5-0132-7af7-5ed004d44c71/status?branch=master)](https://codeship.com/projects/85232)
## About
The Coriolis project was inspired by [E:D Shipyard](http://www.edshipyard.com/) and, of course, [Elite Dangerous](http://www.elitedangerous.com). The ultimate goal of Coriolis is to provide rich features to support in-game play and planning while engaging the E:D community to support its development.

View File

@@ -244,13 +244,19 @@ gulp.task('test', function () {
});
gulp.task('lint', ['js-lint', 'json-lint']);
gulp.task('clean', function (done) { del(['build'], done); });
gulp.task('build', function (done) { runSequence('clean', ['html2js','jsonToDB'], ['generateIndexHTML','bower','js','less','copy'], done); });
gulp.task('build-cache', function (done) { runSequence('build', 'appcache', done); });
gulp.task('build-prod', function (done) { runSequence('build', 'cache-bust', 'appcache', done); });
gulp.task('dev', function (done) { runSequence('build-cache', 'serve','watch', done); });
gulp.task('deploy', function (done) {
cdnHostStr = '//cdn.' + process.env.CORIOLIS_HOST;
runSequence('lint', 'build','cache-bust', 'appcache', 'upload', done);
runSequence('build-prod', 'upload', done);
});
gulp.task('default', ['dev']);

View File

@@ -6,6 +6,7 @@
"url": "https://github.com/cmmcleod/coriolis"
},
"private": true,
"engine": "node >= 0.12.2",
"dependencies": {},
"devDependencies": {
"async": "^0.9.0",