mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 02:30:12 +02:00
14 lines
304 B
Bash
Executable File
14 lines
304 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if ! type docker >/dev/null; then
|
|
echo "Please install docker"
|
|
exit 1
|
|
fi
|
|
|
|
BRANCH=$(git branch --show-current)
|
|
echo "Running sharp performance tests using $BRANCH branch"
|
|
|
|
docker build --build-arg "BRANCH=$BRANCH" -t sharp-test-bench .
|
|
docker run --rm -it sharp-test-bench
|