diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-12-05 23:42:34 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-12-05 23:45:22 -0800 |
commit | b6d62cc91c144ad15a2d8361a95be99b1003c5ae (patch) | |
tree | e8f8169a1f1c9e41bc04cbbdef69bbb2c9c2cd3c /build | |
parent | 58467e6cbc4fce0c11a5200b9846c7a47ec874d9 (diff) | |
download | mu-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 'build')
-rwxr-xr-x | build | 5 |
1 files changed, 5 insertions, 0 deletions
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 |