mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
change how grunt splits tasks up which fix broken migrate call
This commit is contained in:
parent
241918c2d0
commit
b1a3be4510
3 changed files with 2 additions and 2 deletions
|
@ -22,6 +22,7 @@ module.exports = (grunt) ->
|
||||||
grunt.loadNpmTasks "grunt-contrib-coffee"
|
grunt.loadNpmTasks "grunt-contrib-coffee"
|
||||||
grunt.loadNpmTasks "grunt-shell"
|
grunt.loadNpmTasks "grunt-shell"
|
||||||
|
|
||||||
|
grunt.task.loadTasks "./tasks"
|
||||||
|
|
||||||
execute = {}
|
execute = {}
|
||||||
for service in SERVICES
|
for service in SERVICES
|
||||||
|
@ -112,7 +113,7 @@ module.exports = (grunt) ->
|
||||||
grunt.registerTask "check:make", "Check that make is installed", () ->
|
grunt.registerTask "check:make", "Check that make is installed", () ->
|
||||||
Helpers.checkMake @async()
|
Helpers.checkMake @async()
|
||||||
|
|
||||||
grunt.registerTask 'migrate', "compile migrations and run them", ['coffee:migrate', 'shell:migrate']
|
grunt.registerTask 'migrate', "compile migrations and run them", ["coffee:migrate", 'shell:migrate']
|
||||||
|
|
||||||
|
|
||||||
Helpers =
|
Helpers =
|
||||||
|
@ -242,5 +243,4 @@ module.exports = (grunt) ->
|
||||||
rclient.on 'error', errorHandler
|
rclient.on 'error', errorHandler
|
||||||
|
|
||||||
|
|
||||||
require('load-grunt-config')(grunt)
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue