mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
17 lines
290 B
Bash
Executable File
17 lines
290 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
|
|
git log --no-merges --name-only --pretty=format: ${1}..${2} | grep -Ev '^$' | sort | uniq | while read FILE ; do
|
|
if [[ "${FILE}" =~ ^ui/src/.+ ]]; then
|
|
echo "[P] ${FILE}"
|
|
exit 1
|
|
else
|
|
echo "[ ] ${FILE}"
|
|
fi
|
|
done
|
|
|
|
exit 0
|