Skip to content

Commit 6d5cc43

Browse files
author
Sam Harrison
committed
feat: allow interactive docker testing with 'command' env var
Piping to the 'bash' command does not allow for interacting with the Docker container when running the 'test-docker' make target. By moving it to its own line, the interaction is now allowed. Example: `command=bash make test-docker`
1 parent 751e2ae commit 6d5cc43

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test/config.js
55
.env*
66
*.log
77
.vscode/
8-
prism
8+
prism*
99
package-lock.json
1010
yarn.lock
1111
*.bak

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ test-integ: test
2020

2121
version ?= lts
2222
test-docker:
23-
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/prism/prism.sh | version=$(version) bash
23+
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/prism/prism.sh -o prism.sh
24+
version=$(version) bash ./prism.sh

0 commit comments

Comments
 (0)