mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-15 01:18:00 -05:00
16 lines
393 B
Bash
16 lines
393 B
Bash
#!/bin/bash
|
|
echo "$(basename $0) start!"
|
|
VERSION=v0.1.6
|
|
wget https://github.com/AtsushiSakai/DiffSentinel/archive/${VERSION}.zip
|
|
unzip ${VERSION}.zip
|
|
./DiffSentinel*/starter.sh HEAD origin/master
|
|
check_result=$?
|
|
rm -rf ${VERSION}.zip DiffSentinel*
|
|
if [[ ${check_result} -ne 0 ]];
|
|
then
|
|
echo "Error: Your changes contain pycodestyle errors."
|
|
exit 1
|
|
fi
|
|
echo "$(basename $0) done!"
|
|
exit 0
|