Skip to content

Commit 8285451

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 cadb619 commit 8285451

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,4 +326,4 @@ $RECYCLE.BIN/
326326
/.vscode
327327

328328
.env
329-
prism
329+
prism*

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ test:
1616
test-integ: test
1717

1818
test-docker:
19-
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/prism/prism.sh | bash
19+
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/prism/prism.sh -o prism.sh
20+
bash ./prism.sh
2021

2122
release:
2223
dotnet pack -c Release

0 commit comments

Comments
 (0)