Skip to content

Commit

Permalink
docs: added todo and npm cloud-publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
xndlnk committed Oct 16, 2018
1 parent 1b403e2 commit af81892
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ function cloneRepository (serviceName, repositoryUrl) {
}

let localServicePath = getLocalServicePath(serviceName)
// TODO: check if dir already exists or else an exception will occur here.
// this can happen if the clone below fails and another repository location is tried.
fs.mkdirSync(localServicePath)

log.info('git', 'cloning repository %s', repositoryUrl)
Expand Down
4 changes: 2 additions & 2 deletions sources/microservice-system-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"test": "mocha -r ts-node/register -r tsconfig-paths/register test/**/*.ts",
"dev": "tsc && webpack --mode development",
"build": "tsc && webpack --mode production",
"watch": "webpack --watch",
"docker-build": "node docker-build.js",
"docker-run": "node docker-run.js",
"docker-publish": "node docker-publish.js"
"docker-publish": "node docker-publish.js",
"cloud-publish": "now"
},
"author": "Andreas Blunk, MaibornWolff GmbH",
"license": "Apache-2.0",
Expand Down

0 comments on commit af81892

Please sign in to comment.