Skip to content

Commit

Permalink
Asciidoctor: Drop xml file after docbook (elastic#547)
Browse files Browse the repository at this point in the history
Drop the giant xml file produced by asciidoctor after docbook is all done.
We don't keep the xml file we make with asciidoc so we shouldn't keep
the xml file from asciidoctor either. It is useful for debugging, but we
can always get it if we need it.
  • Loading branch information
nik9000 authored Jan 17, 2019
1 parent e92ac42 commit 8a22751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ES/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ sub build_chunked {
"$dest/index.xml"
);
# TODO copy_resources?
# TODO clean the xml files
unlink "$dest/index.xml";
1;
} or do { $output = $@; $died = 1; };
}
Expand Down Expand Up @@ -232,7 +232,7 @@ sub build_single {
"$dest/index.xml"
);
# TODO copy_resources?
# TODO clean the xml file
unlink "$dest/index.xml";
1;
} or do { $output = $@; $died = 1; };
}
Expand Down

0 comments on commit 8a22751

Please sign in to comment.