about summary refs log tree commit diff stats
path: root/clean
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-05 23:42:34 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-05 23:45:22 -0800
commitb6d62cc91c144ad15a2d8361a95be99b1003c5ae (patch)
treee8f8169a1f1c9e41bc04cbbdef69bbb2c9c2cd3c /clean
parent58467e6cbc4fce0c11a5200b9846c7a47ec874d9 (diff)
downloadmu-b6d62cc91c144ad15a2d8361a95be99b1003c5ae.tar.gz
5793
Start of a new script called treeshake to emit stats for minimal line counts
and binary sizes for all apps.

It doesn't actually do any dead-code deletion yet. But it does build and
run all apps successfully. (Except apps/mu; we'll ignore that for now.
It's probably not being disciplined about identifying internal labels.)
Diffstat (limited to 'clean')
-rwxr-xr-xclean2
1 files changed, 1 insertions, 1 deletions
diff --git a/clean b/clean
index ef0eb481..aeb8f520 100755
--- a/clean
+++ b/clean
@@ -5,7 +5,7 @@ set -v
 rm -rf subx.cc subx_bin* *_list
 rm -rf .until
 test $# -gt 0 && exit 0  # convenience: 'clean top-level' to leave subsidiary tools alone
-rm -rf enumerate/enumerate tangle/tangle tangle/*_list */*.dSYM
+rm -rf enumerate/enumerate tangle/tangle tangle/*_list */*.dSYM treeshake
 rm -rf browse_trace/browse_trace_bin browse_trace/*_list
 rm -rf tmp mu-linux.iso outfs initrd.fat mu-soso.iso
 ( cd kernel.soso  &&  make clean; )