mirror of
https://github.com/public-apis/public-apis.git
synced 2025-06-02 19:01:57 +02:00
Remove duplicate JSON build steps
This commit is contained in:
parent
620758d6e9
commit
3828748eee
1 changed files with 1 additions and 12 deletions
|
@ -29,18 +29,7 @@ else
|
|||
|
||||
fi
|
||||
|
||||
echo "checking if /json was changed..."
|
||||
egrep "\+{3}\s.\/json\/" diff.txt > json.txt
|
||||
if [[$? == 0]]; then
|
||||
echo "JSON files are auto-generated! Please do not update these files:"
|
||||
cat json.txt
|
||||
exit 1
|
||||
else
|
||||
echo "/json check passed!"
|
||||
rm json.txt
|
||||
fi
|
||||
|
||||
echo "running format validation on $FORMAT_FILE..."
|
||||
echo "running format validation..."
|
||||
./validate_format.rb $FORMAT_FILE
|
||||
if [[ $? != 0 ]]; then
|
||||
echo "format validation failed!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue