Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
00786f2d
Commit
00786f2d
authored
Oct 26, 2017
by
davemachado
Browse files
Add check to see if /json was changed
parent
d7dec9cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/main.sh
View file @
00786f2d
...
...
@@ -18,6 +18,17 @@ else
LINK_FILE
=
additions.txt
fi
echo
"checking if /json was changed..."
egrep
"
\+
{3}
\s
.
\/
json
\/
"
527.diff
>
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment