8000 Remove generation of adoc files in code cleanliness by jonahgraham · Pull Request #1005 · eclipse-cdt/cdt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove generation of adoc files in code cleanliness #1005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions releng/scripts/do_generate_asciidoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ SCRIPT=$( basename "${BASH_SOURCE[0]}" )
# Make sure that asciidocs are up to date
##
for p in doc/org.eclipse.cdt.doc.user; do
echo "Rebuilding $p asciidocs to make sure they match source"

echo "Ensure adoc files start with expected contents"
ref_header=$p/adoc-headers.txt
git ls-files -- $p/**/*.adoc | while read i ; do
Expand All @@ -29,11 +27,4 @@ for p in doc/org.eclipse.cdt.doc.user; do
tail --lines=+${end_line:=0} $i >> $tmpfile
mv -f $tmpfile $i
done

echo "Generate html from adoc files"
logfile=asciidoc-${p//\//-}.log
if ! ${MVN:-mvn} -B -V generate-resources -DuseSimrelRepo -f $p >${logfile} 2>&1; then
echo "Rebuilding of $p asciidocs failed. The log (${logfile}) is part of the artifacts of the build"
exit 1
fi
done
Loading
0