mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-17 21:53:34 +00:00
15 lines
261 B
Bash
Executable File
15 lines
261 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
list_of_files="${@}"
|
|
for file in $list_of_files; do
|
|
if [[ "${file}" == "composer.json" ]]; then
|
|
$(which composer) validate
|
|
exit "${?}"
|
|
else
|
|
echo "unsupported file: ${file}"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
exit 0
|