Skip to content

Commit 3d34421

Browse files
author
automatic-merge
committed
Merge remote branch 'origin/master' into edge
2 parents 1290700 + 03dc344 commit 3d34421

File tree

3 files changed

+8
-126
lines changed

3 files changed

+8
-126
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,13 @@ clean:
122122
-rm -rf integration/vscode/ada/$(PLATFORM)
123123

124124
vscode:
125-
cd integration/vscode/ada; LD_LIBRARY_PATH= npm install --no-audit && npm run compile
125+
ifneq ($(npm_config_offline),true)
126+
# These commands may try to contact remote servers so if npm is configured to
127+
# run in offline mode, don't bother running them
128+
cd integration/vscode/ada; LD_LIBRARY_PATH= npm install --no-audit
129+
cd integration/vscode/ada; LD_LIBRARY_PATH= npm run check-licenses
130+
endif
131+
cd integration/vscode/ada; LD_LIBRARY_PATH= npm run compile
126132
@echo Now run:
127133
@echo code --extensionDevelopmentPath=`pwd`/integration/vscode/ada/ `pwd`
128134

integration/vscode/ada/package-lock.json

Lines changed: 0 additions & 124 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration/vscode/ada/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,12 +575,12 @@
575575
"eslint-plugin-tsdoc": "0.2.17",
576576
"glob": "9.3.0",
577577
"mocha": "10.2.0",
578-
"mocha-junit-reporter": "^2.2.0",
579578
"prettier": "2.8.4",
580579
"typescript": "4.9.5",
581580
"vscode-tmgrammar-test": "0.1.1"
582581
},
583582
"scripts": {
583+
"check-licenses": "npx license-checker-rseidelsohn --summary --onlyAllow '0BSD;Apache-2.0;BSD-2-Clause;BSD-3-Clause;BlueOak-1.0.0;CC0-1.0;GPL-3.0;GPL-3.0-or-later;ISC;MIT;Python-2.0;Zlib'",
584584
"vscode:prepublish": "npm run esbuild-base -- --minify",
585585
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/src/extension.js --external:vscode --format=cjs --platform=node",
586586
"compile": "node ./node_modules/typescript/bin/tsc",

0 commit comments

Comments
 (0)