diff --git a/services/clsi/Gruntfile.coffee b/services/clsi/Gruntfile.coffee index 09d37346cf..a30f141ed5 100644 --- a/services/clsi/Gruntfile.coffee +++ b/services/clsi/Gruntfile.coffee @@ -46,6 +46,11 @@ module.exports = (grunt) -> app: src: "app.js" + mkdir: + all: + options: + create: ["cache", "compiles"] + mochaTest: unit: options: @@ -70,6 +75,7 @@ module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-shell' grunt.loadNpmTasks 'grunt-execute' grunt.loadNpmTasks 'grunt-bunyan' + grunt.loadNpmTasks 'grunt-mkdir' grunt.registerTask 'compile:bin', () -> callback = @async() @@ -93,6 +99,6 @@ module.exports = (grunt) -> grunt.registerTask 'install', 'compile:app' - grunt.registerTask 'default', ['run'] + grunt.registerTask 'default', ['mkdir', 'run'] diff --git a/services/clsi/package.json b/services/clsi/package.json index 73bb08af3d..56843026e7 100644 --- a/services/clsi/package.json +++ b/services/clsi/package.json @@ -9,23 +9,24 @@ "author": "James Allen ", "dependencies": { "async": "0.2.9", + "body-parser": "^1.2.0", + "express": "^4.2.0", + "fs-extra": "^0.16.3", + "grunt-mkdir": "^1.0.0", + "heapdump": "^0.3.5", + "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.4", "lynx": "0.0.11", + "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.5.0", "mkdirp": "0.3.5", "mysql": "2.6.2", "request": "^2.21.0", - "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.5.4", - "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0", - "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.5.0", "sequelize": "^2.1.3", - "wrench": "~1.5.4", + "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0", "smoke-test-sharelatex": "git+https://github.com/sharelatex/smoke-test-sharelatex.git#v0.2.0", "sqlite3": "~3.1.8", - "express": "^4.2.0", - "body-parser": "^1.2.0", - "fs-extra": "^0.16.3", "underscore": "^1.8.2", "v8-profiler": "^5.2.4", - "heapdump": "^0.3.5" + "wrench": "~1.5.4" }, "devDependencies": { "mocha": "1.10.0",