Skip to content

Commit

Permalink
refactor: drop repo-tool as an exec wrapper (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and alexander-fenster committed Jun 26, 2018
1 parent edf4ad5 commit abaeabf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
7 changes: 1 addition & 6 deletions packages/google-cloud-dns/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,7 @@ jobs:
fi
- run: &npm_install_and_link
name: Install and link the module.
command: |
npm install
repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools"
if ! test -x "$repo_tools"; then
chmod +x "$repo_tools"
fi
command: npm install
- run:
name: Run unit tests.
command: npm test
Expand Down
12 changes: 6 additions & 6 deletions packages/google-cloud-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
],
"scripts": {
"cover": "nyc --reporter=lcov mocha --require intelli-espower-loader test/*.js && nyc report",
"docs": "repo-tools exec -- jsdoc -c .jsdoc.js",
"docs": "jsdoc -c .jsdoc.js",
"generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json",
"lint": "repo-tools lint --cmd eslint -- src/ samples/ system-test/ test/",
"prettier": "repo-tools exec -- prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js",
"lint": "eslint src/ samples/ system-test/ test/",
"prettier": "prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js",
"publish-module": "node ../../scripts/publish.js dns",
"test-no-cover": "repo-tools test run --cmd mocha -- test/*.js --no-timeouts",
"test": "repo-tools test run --cmd npm -- run cover",
"test-no-cover": "mocha test/*.js --no-timeouts",
"test": "npm run cover",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "repo-tools test run --cmd mocha -- system-test/*.js --timeout 600000"
"system-test": "mocha system-test/*.js --timeout 600000"
},
"dependencies": {
"@google-cloud/common": "^0.20.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"ava": "ava -T 20s --verbose test/*.test.js system-test/*.test.js",
"cover": "nyc --reporter=lcov --cache ava -T 20s --verbose test/*.test.js system-test/*.test.js && nyc report",
"test": "repo-tools test run --cmd npm -- run cover"
"test": "npm run cover"
},
"dependencies": {
"@google-cloud/dns": "0.7.2",
Expand Down

0 comments on commit abaeabf

Please sign in to comment.