Skip to content

Commit a7054bc

Browse files
authored
Asciidoctor: Drop xml file after docbook (#547)
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.
1 parent e039863 commit a7054bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ES/Util.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ sub build_chunked {
109109
"$dest/index.xml"
110110
);
111111
# TODO copy_resources?
112-
# TODO clean the xml files
112+
unlink "$dest/index.xml";
113113
1;
114114
} or do { $output = $@; $died = 1; };
115115
}
@@ -232,7 +232,7 @@ sub build_single {
232232
"$dest/index.xml"
233233
);
234234
# TODO copy_resources?
235-
# TODO clean the xml file
235+
unlink "$dest/index.xml";
236236
1;
237237
} or do { $output = $@; $died = 1; };
238238
}

0 commit comments

Comments
 (0)