Skip to content

Commit

Permalink
More bash hackery
Browse files Browse the repository at this point in the history
  • Loading branch information
petervdonovan committed May 23, 2024
1 parent d4aa74d commit 82985c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@
"deploy": "echo \"Y\r\n\" | code --install-extension vscode-lingua-franca-*.vsix --force",
"install": "npm run clean && npm run build && npm run package && npm run deploy",
"test": "npm run compile-tests && node ./out/test/test/test_runner.js --dependencies=present",
"test-dependencies-outdated": "if [ -z ${LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS+x} ]; then echo 'If you are sure that you want to run a test which may uninstall binaries from your machine, set the environment variable LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS' ; else npm run compile-tests && rustup default 1.26.0 && node ./out/test/test/test_runner.js --dependencies=outdated; fi",
"test-dependencies-missing-basic": "if [ -z ${LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS+x} ]; then echo 'If you are sure that you want to run a test which may uninstall binaries from your machine, set the environment variable LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS' ; else npm run compile-tests && move-cli $HOME/.cargo $HOME/.cargo.bak && node ./out/test/test/test_runner.js --dependencies=missing0; fi",
"test-dependencies-missing-extended": "if [ -z ${LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS+x} ]; then echo 'If you are sure that you want to run a test which may uninstall binaries from your machine, set the environment variable LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS' ; else npm run compile-tests && move-cli $HOME/.cargo $HOME/.cargo.bak && node ./out/test/test/test_runner.js --dependencies=missing1; fi",
"test-dependencies-outdated": "bash -c \"if [ -z ${LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS+x} ]; then echo 'If you are sure that you want to run a test which may uninstall binaries from your machine, set the environment variable LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS' ; else false; fi\" || npm run compile-tests && rustup default 1.26.0 && node ./out/test/test/test_runner.js --dependencies=outdated;",
"test-dependencies-missing-basic": "bash -c \"if [ -z ${LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS+x} ]; then echo 'If you are sure that you want to run a test which may uninstall binaries from your machine, set the environment variable LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS' ; else false; fi\" npm run compile-tests && move-cli $HOME/.cargo $HOME/.cargo.bak && node ./out/test/test/test_runner.js --dependencies=missing0",
"test-dependencies-missing-extended": "bash -c \"if [ -z ${LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS+x} ]; then echo 'If you are sure that you want to run a test which may uninstall binaries from your machine, set the environment variable LF_VS_CODE_ALLOW_GLOBAL_UNINSTALLS' ; else false; fi\" npm run compile-tests && move-cli $HOME/.cargo $HOME/.cargo.bak && node ./out/test/test/test_runner.js --dependencies=missing1",
"test-syntax": "npm run compile-tests && npx mocha out/test/test/check_highlighting.test.js --ui tdd --reporter-option maxDiffSize=0",
"update-known-good": "rm -rf test/known-good && npm run compile-tests && npx mocha out/test/test/check_highlighting.test.js --ui tdd",
"amend-jar": "./uf.py"
Expand Down

0 comments on commit 82985c7

Please sign in to comment.