We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c149e0b commit fc050e2Copy full SHA for fc050e2
Makefile
@@ -122,7 +122,13 @@ clean:
122
-rm -rf integration/vscode/ada/$(PLATFORM)
123
124
vscode:
125
- cd integration/vscode/ada; LD_LIBRARY_PATH= npm install --no-audit && npm run check-licenses && npm run compile
+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
132
@echo Now run:
133
@echo code --extensionDevelopmentPath=`pwd`/integration/vscode/ada/ `pwd`
134
0 commit comments