File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ test.php
1010.idea /
1111* .code-workspace
1212.vscode
13- prism *
13+ prism /
1414temp.php
1515TODO.txt
1616sendgrid-php.zip
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ test-integ: test
2929
3030version ?= latest
3131test-docker :
32- curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
3332 dependencies=lowest version=$(version ) bash ./prism.sh
3433 dependencies=highest version=$(version ) bash ./prism.sh
3534
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ rm -rf prism && mkdir -p prism && cd prism
5+ git clone --depth 1 https://github.com/sendgrid/sendgrid-oai .
6+ cd prism
7+
8+ docker compose build --parallel
9+
10+ if [ -z " $command " ]; then
11+ docker compose up --force-recreate --abort-on-container-exit --remove-orphans
12+ else
13+ docker compose run helper-runner " $command "
14+ docker compose down
15+ fi
You can’t perform that action at this time.
0 commit comments