From b6d62cc91c144ad15a2d8361a95be99b1003c5ae Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 5 Dec 2019 23:42:34 -0800 Subject: 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.) --- build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build') diff --git a/build b/build index 9e95bb34..9028bfa3 100755 --- a/build +++ b/build @@ -106,4 +106,9 @@ older_than subx_bin subx.cc *_list && { $CXX $CFLAGS subx.cc -o subx_bin } +older_than treeshake treeshake.cc && { + echo $CXX $CFLAGS treeshake.cc -o treeshake + $CXX $CFLAGS treeshake.cc -o treeshake +} + exit 0 -- cgit 1.4.1-2-gfad0