mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
get the logging locally to work with bunyan
This commit is contained in:
parent
7c2e4b00ed
commit
33e654accf
2 changed files with 10 additions and 2 deletions
|
@ -52,6 +52,9 @@ module.exports = (grunt) ->
|
||||||
options:
|
options:
|
||||||
ext:"*.coffee"
|
ext:"*.coffee"
|
||||||
|
|
||||||
|
execute:
|
||||||
|
app:
|
||||||
|
src: "app.js"
|
||||||
|
|
||||||
concurrent:
|
concurrent:
|
||||||
dev:
|
dev:
|
||||||
|
@ -79,13 +82,15 @@ module.exports = (grunt) ->
|
||||||
grunt.loadNpmTasks 'grunt-concurrent'
|
grunt.loadNpmTasks 'grunt-concurrent'
|
||||||
grunt.loadNpmTasks 'grunt-mocha-test'
|
grunt.loadNpmTasks 'grunt-mocha-test'
|
||||||
grunt.loadNpmTasks 'grunt-forever'
|
grunt.loadNpmTasks 'grunt-forever'
|
||||||
|
grunt.loadNpmTasks 'grunt-bunyan'
|
||||||
|
grunt.loadNpmTasks 'grunt-execute'
|
||||||
|
|
||||||
grunt.registerTask "test:unit", ["coffee", "mochaTest:unit"]
|
grunt.registerTask "test:unit", ["coffee", "mochaTest:unit"]
|
||||||
grunt.registerTask "test:acceptence", ["coffee", "mochaTest:acceptence"]
|
grunt.registerTask "test:acceptence", ["coffee", "mochaTest:acceptence"]
|
||||||
grunt.registerTask "test:acceptance", ["test:acceptence"]
|
grunt.registerTask "test:acceptance", ["test:acceptence"]
|
||||||
|
|
||||||
grunt.registerTask "ci", "test:unit"
|
grunt.registerTask "ci", "test:unit"
|
||||||
grunt.registerTask 'default', ['coffee', 'concurrent']
|
grunt.registerTask 'default', ['coffee', 'bunyan','execute']
|
||||||
|
|
||||||
grunt.registerTask "compile", "coffee"
|
grunt.registerTask "compile", "coffee"
|
||||||
grunt.registerTask "install", "compile"
|
grunt.registerTask "install", "compile"
|
||||||
|
|
|
@ -8,8 +8,11 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "~0.2.10",
|
"async": "~0.2.10",
|
||||||
|
"bunyan": "^1.3.5",
|
||||||
"coffee-script": "~1.7.1",
|
"coffee-script": "~1.7.1",
|
||||||
"express": "~3.4.8",
|
"express": "~3.4.8",
|
||||||
|
"grunt-bunyan": "^0.5.0",
|
||||||
|
"grunt-execute": "^0.2.2",
|
||||||
"grunt-mocha-test": "~0.8.2",
|
"grunt-mocha-test": "~0.8.2",
|
||||||
"heapdump": "^0.3.2",
|
"heapdump": "^0.3.2",
|
||||||
"knox": "~0.9.1",
|
"knox": "~0.9.1",
|
||||||
|
|
Loading…
Reference in a new issue