Skip to content
GitLab
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
9f28ba29
Commit
9f28ba29
authored
Feb 26, 2014
by
James Allen
Browse files
Add in track changes as a 'hidden' service
parent
ff04b104
Changes
1
Hide whitespace changes
Inline
Side-by-side
Gruntfile.coffee
View file @
9f28ba29
...
...
@@ -20,6 +20,10 @@ SERVICES = [{
repo
:
"https://github.com/sharelatex/filestore-sharelatex.git"
}]
TRACK_CHANGES
=
name
:
"track-changes"
repo
:
"https://github.com/sharelatex/track-changes-sharelatex.git"
module
.
exports
=
(
grunt
)
->
grunt
.
loadNpmTasks
'grunt-bunyan'
...
...
@@ -28,7 +32,7 @@ module.exports = (grunt) ->
grunt
.
loadNpmTasks
'grunt-concurrent'
execute
=
{}
for
service
in
SERVICES
for
service
in
SERVICES
.
concat
([
TRACK_CHANGES
])
execute
[
service
.
name
]
=
src
:
"
#{
service
.
name
}
/app.js"
...
...
@@ -66,7 +70,7 @@ module.exports = (grunt) ->
"Config tasks"
:
[
"install:config"
]
"Checks"
:
[
"check"
,
"check:redis"
,
"check:latexmk"
,
"check:s3"
,
"check:make"
]
for
service
in
SERVICES
for
service
in
SERVICES
.
concat
([
TRACK_CHANGES
])
do
(
service
)
->
grunt
.
registerTask
"install:
#{
service
.
name
}
"
,
"Download and set up the
#{
service
.
name
}
service"
,
()
->
done
=
@
async
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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