mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 14:33:22 +00:00
Changes for Codeship CI
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
[](https://waffle.io/cmmcleod/coriolis) [](http://waffle.io/cmmcleod/coriolis)
|
||||
|
||||
[ ](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.
|
||||
|
||||
@@ -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']);
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"url": "https://github.com/cmmcleod/coriolis"
|
||||
},
|
||||
"private": true,
|
||||
"engine": "node >= 0.12.2",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"async": "^0.9.0",
|
||||
|
||||
Reference in New Issue
Block a user