diff --git a/server-ce/Gruntfile.coffee b/server-ce/Gruntfile.coffee index 1d3957f16f..1c8c120ef5 100644 --- a/server-ce/Gruntfile.coffee +++ b/server-ce/Gruntfile.coffee @@ -10,47 +10,8 @@ async = require "async" settings = require("settings-sharelatex") -SERVICES = [{ - name: "web" - repo: "https://github.com/sharelatex/web-sharelatex.git" - version: "master" -}, { - name: "real-time" - repo: "https://github.com/sharelatex/real-time-sharelatex.git" - version: "master" -}, { - name: "document-updater" - repo: "https://github.com/sharelatex/document-updater-sharelatex.git" - version: "master" -}, { - name: "clsi" - repo: "https://github.com/sharelatex/clsi-sharelatex.git" - version: "master" -}, { - name: "filestore" - repo: "https://github.com/sharelatex/filestore-sharelatex.git" - version: "master" -}, { - name: "track-changes" - repo: "https://github.com/sharelatex/track-changes-sharelatex.git" - version: "master" -}, { - name: "docstore" - repo: "https://github.com/sharelatex/docstore-sharelatex.git" - version: "master" -}, { - name: "chat" - repo: "https://github.com/sharelatex/chat-sharelatex.git" - version: "master" -}, { - name: "tags" - repo: "https://github.com/sharelatex/tags-sharelatex.git" - version: "master" -}, { - name: "spelling" - repo: "https://github.com/sharelatex/spelling-sharelatex.git" - version: "master" -}] +SERVICES = require("./config/services") + module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-bunyan' grunt.loadNpmTasks 'grunt-execute' diff --git a/server-ce/config/services.js b/server-ce/config/services.js new file mode 100644 index 0000000000..be4da8698a --- /dev/null +++ b/server-ce/config/services.js @@ -0,0 +1,43 @@ +module.exports = + +[{ + name: "web", + repo: "https://github.com/sharelatex/web-sharelatex.git", + version: "master" +}, { + name: "real-time", + repo: "https://github.com/sharelatex/real-time-sharelatex.git", + version: "master" +}, { + name: "document-updater", + repo: "https://github.com/sharelatex/document-updater-sharelatex.git", + version: "master" +}, { + name: "clsi", + repo: "https://github.com/sharelatex/clsi-sharelatex.git", + version: "master" +}, { + name: "filestore", + repo: "https://github.com/sharelatex/filestore-sharelatex.git", + version: "master" +}, { + name: "track-changes", + repo: "https://github.com/sharelatex/track-changes-sharelatex.git", + version: "master" +}, { + name: "docstore", + repo: "https://github.com/sharelatex/docstore-sharelatex.git", + version: "master" +}, { + name: "chat", + repo: "https://github.com/sharelatex/chat-sharelatex.git", + version: "master" +}, { + name: "tags", + repo: "https://github.com/sharelatex/tags-sharelatex.git", + version: "master" +}, { + name: "spelling", + repo: "https://github.com/sharelatex/spelling-sharelatex.git", + version: "master" +}]