mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-11-27 12:34:48 +01:00
31 lines
494 B
Bash
Executable File
31 lines
494 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
|
|
PARAMS='-s -ln posix -i 0 -ci -kp'
|
|
|
|
case "${1:-}" in
|
|
check)
|
|
PARAMS="$PARAMS -d"
|
|
;;
|
|
fix)
|
|
PARAMS="$PARAMS -w"
|
|
;;
|
|
*)
|
|
printf 'Syntax: %s <check|fix>' "$0" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
shfmt $PARAMS \
|
|
install-php-extensions \
|
|
scripts/ci-filter-supported-extensions \
|
|
scripts/ci-retrieve-recent-extensions \
|
|
scripts/ci-test-extensions \
|
|
scripts/common \
|
|
scripts/invoke-shfmt \
|
|
scripts/lint \
|
|
scripts/test-restore-apt \
|
|
scripts/update-readme
|