mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 04:41:01 +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"
|
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) ->
|
module.exports = (grunt) ->
|
||||||
grunt.loadNpmTasks 'grunt-bunyan'
|
grunt.loadNpmTasks 'grunt-bunyan'
|
||||||
|
@ -28,7 +32,7 @@ module.exports = (grunt) ->
|
||||||
grunt.loadNpmTasks 'grunt-concurrent'
|
grunt.loadNpmTasks 'grunt-concurrent'
|
||||||
|
|
||||||
execute = {}
|
execute = {}
|
||||||
for service in SERVICES
|
for service in SERVICES.concat([TRACK_CHANGES])
|
||||||
execute[service.name] =
|
execute[service.name] =
|
||||||
src: "#{service.name}/app.js"
|
src: "#{service.name}/app.js"
|
||||||
|
|
||||||
|
@ -66,7 +70,7 @@ module.exports = (grunt) ->
|
||||||
"Config tasks": ["install:config"]
|
"Config tasks": ["install:config"]
|
||||||
"Checks": ["check", "check:redis", "check:latexmk", "check:s3", "check:make"]
|
"Checks": ["check", "check:redis", "check:latexmk", "check:s3", "check:make"]
|
||||||
|
|
||||||
for service in SERVICES
|
for service in SERVICES.concat([TRACK_CHANGES])
|
||||||
do (service) ->
|
do (service) ->
|
||||||
grunt.registerTask "install:#{service.name}", "Download and set up the #{service.name} service", () ->
|
grunt.registerTask "install:#{service.name}", "Download and set up the #{service.name} service", () ->
|
||||||
done = @async()
|
done = @async()
|
||||||
|
|
Loading…
Reference in a new issue