Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
overleaf
Commits
3a8becbe
Commit
3a8becbe
authored
Nov 23, 2016
by
Henry Oswald
Browse files
change how grunt splits tasks up which fix broken migrate call
parent
9396b62b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Gruntfile.coffee
View file @
3a8becbe
...
...
@@ -22,6 +22,7 @@ module.exports = (grunt) ->
grunt
.
loadNpmTasks
"grunt-contrib-coffee"
grunt
.
loadNpmTasks
"grunt-shell"
grunt
.
task
.
loadTasks
"./tasks"
execute
=
{}
for
service
in
SERVICES
...
...
@@ -112,7 +113,7 @@ module.exports = (grunt) ->
grunt
.
registerTask
"check:make"
,
"Check that make is installed"
,
()
->
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
=
...
...
@@ -242,5 +243,4 @@ module.exports = (grunt) ->
rclient
.
on
'error'
,
errorHandler
require
(
'load-grunt-config'
)(
grunt
)
grunt
/CreateAndDestoryUsers.coffee
→
tasks
/CreateAndDestoryUsers.coffee
View file @
3a8becbe
File moved
grunt
/ProjectSize.coffee
→
tasks
/ProjectSize.coffee
View file @
3a8becbe
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment