From 5a5eeff170dcc94e1ac097fe596ae1d1f02ae338 Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Wed, 4 Mar 2015 18:13:57 +0100 Subject: [PATCH] build.sh now prints all unused resources after building. --- build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.sh b/build.sh index 6d81808..0f39cdd 100755 --- a/build.sh +++ b/build.sh @@ -3,3 +3,11 @@ pdflatex basics.tex pdflatex out.tex +grep '*{file}' basics.dep | cut -d'{' -f3 | sed -e 's/}//g' -e 's#^#./#g' | sort | uniq > basics.dep.tmp +(find ./images ./articles ./fillers -type f; cat basics.dep.tmp basics.dep.tmp) | sort | uniq -u > basics.dep.unused +rm basics.dep.tmp + +echo -e "\n\n\n*** DONE ***\n" +echo "unused ./images ./articles ./fillers:" +cat basics.dep.unused +echo "" \ No newline at end of file -- 2.43.0