mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 17:21:13 +00:00
Add in track changes as a 'hidden' service
This commit is contained in:
parent
ff04b104a5
commit
9f28ba29cb
1 changed files with 6 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue