|
@@ -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()
|