Skip to content

Commit

Permalink
test: Skip start script for users with remote HANA configured (#907)
Browse files Browse the repository at this point in the history
This allows mac users with the `HANA_HOST` environment variable set to
use the normal `npm t -w hana` command
  • Loading branch information
BobdenOs authored Nov 22, 2024
1 parent 732a2f3 commit 45bcdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"CHANGELOG.md"
],
"scripts": {
"test": "npm start && cds-test $(../test/find)",
"test": "(([ -z \"${HANA_HOST}\" ] && npm start) || true) && cds-test $(../test/find)",
"test:remote": "cds-test",
"start": "npm run start:hce || npm run start:hxe",
"start:hce": "cd ./tools/docker/hce/ && ./start.sh",
Expand Down

0 comments on commit 45bcdcf

Please sign in to comment.