Skip to content

Commit 12ace42

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 257d9f5 commit 12ace42

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
@@ -26,4 +26,4 @@ __pycache__
2626
example.pdf
2727
TODO.txt
2828
twilio.env
29-
prism
29+
prism*

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ test-integ: test
1818

1919
version ?= latest
2020
test-docker:
21-
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/prism/prism.sh | version=$(version) bash
21+
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/prism/prism.sh -o prism.sh
22+
version=$(version) bash ./prism.sh
2223

2324
clean: nopyc
2425
rm -rf venv

0 commit comments

Comments
 (0)