mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #68 from sharelatex/ho-mkdir-cache-comiles
use grunt to make compiles and cache dirs
This commit is contained in:
commit
68ec76fa25
2 changed files with 16 additions and 9 deletions
|
@ -46,6 +46,11 @@ module.exports = (grunt) ->
|
||||||
app:
|
app:
|
||||||
src: "app.js"
|
src: "app.js"
|
||||||
|
|
||||||
|
mkdir:
|
||||||
|
all:
|
||||||
|
options:
|
||||||
|
create: ["cache", "compiles"]
|
||||||
|
|
||||||
mochaTest:
|
mochaTest:
|
||||||
unit:
|
unit:
|
||||||
options:
|
options:
|
||||||
|
@ -70,6 +75,7 @@ module.exports = (grunt) ->
|
||||||
grunt.loadNpmTasks 'grunt-shell'
|
grunt.loadNpmTasks 'grunt-shell'
|
||||||
grunt.loadNpmTasks 'grunt-execute'
|
grunt.loadNpmTasks 'grunt-execute'
|
||||||
grunt.loadNpmTasks 'grunt-bunyan'
|
grunt.loadNpmTasks 'grunt-bunyan'
|
||||||
|
grunt.loadNpmTasks 'grunt-mkdir'
|
||||||
|
|
||||||
grunt.registerTask 'compile:bin', () ->
|
grunt.registerTask 'compile:bin', () ->
|
||||||
callback = @async()
|
callback = @async()
|
||||||
|
@ -93,6 +99,6 @@ module.exports = (grunt) ->
|
||||||
|
|
||||||
grunt.registerTask 'install', 'compile:app'
|
grunt.registerTask 'install', 'compile:app'
|
||||||
|
|
||||||
grunt.registerTask 'default', ['run']
|
grunt.registerTask 'default', ['mkdir', 'run']
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,23 +9,24 @@
|
||||||
"author": "James Allen <james@sharelatex.com>",
|
"author": "James Allen <james@sharelatex.com>",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "0.2.9",
|
"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",
|
"lynx": "0.0.11",
|
||||||
|
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.5.0",
|
||||||
"mkdirp": "0.3.5",
|
"mkdirp": "0.3.5",
|
||||||
"mysql": "2.6.2",
|
"mysql": "2.6.2",
|
||||||
"request": "^2.21.0",
|
"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",
|
"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",
|
"smoke-test-sharelatex": "git+https://github.com/sharelatex/smoke-test-sharelatex.git#v0.2.0",
|
||||||
"sqlite3": "~3.1.8",
|
"sqlite3": "~3.1.8",
|
||||||
"express": "^4.2.0",
|
|
||||||
"body-parser": "^1.2.0",
|
|
||||||
"fs-extra": "^0.16.3",
|
|
||||||
"underscore": "^1.8.2",
|
"underscore": "^1.8.2",
|
||||||
"v8-profiler": "^5.2.4",
|
"v8-profiler": "^5.2.4",
|
||||||
"heapdump": "^0.3.5"
|
"wrench": "~1.5.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mocha": "1.10.0",
|
"mocha": "1.10.0",
|
||||||
|
|
Loading…
Reference in a new issue