mirror of
https://github.com/public-apis/public-apis.git
synced 2024-07-07 13:32:22 +02:00
Update build script
This commit is contained in:
parent
c5df49768f
commit
fe01820394
@ -18,6 +18,17 @@ else
|
||||
LINK_FILE=additions.txt
|
||||
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..."
|
||||
./validate_format.rb $FORMAT_FILE
|
||||
if [[ $? != 0 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user