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
3828748e
Unverified
Commit
3828748e
authored
Dec 22, 2017
by
Dave Machado
Browse files
Remove duplicate JSON build steps
parent
620758d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/main.sh
View file @
3828748e
...
...
@@ -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!"
...
...
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