diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-12-06 01:12:08 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-12-06 01:12:08 -0800 |
commit | 68719bebc02ca355aa96dee2497f511d24606fc8 (patch) | |
tree | 4f279ad52a1f83e386672b81eeb1f95e4ae9d692 /treeshake_translate | |
parent | b6d62cc91c144ad15a2d8361a95be99b1003c5ae (diff) | |
download | mu-68719bebc02ca355aa96dee2497f511d24606fc8.tar.gz |
5794
Rather surprisingly, all the treeshake tooling is done in just about 2 hours of work. From now on it'll be easier to update stats.txt. Observations: a) Binaries are tiny compared to conventional stacks. Tens of KB. b) ~80% of binaries are tests and unused libraries in all my apps. c) ~75% of LoC in SubX sources are tests or comments.
Diffstat (limited to 'treeshake_translate')
-rwxr-xr-x | treeshake_translate | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/treeshake_translate b/treeshake_translate index beb19aa5..6794b066 100755 --- a/treeshake_translate +++ b/treeshake_translate @@ -6,7 +6,9 @@ set -e ./build -grep -vh '^\s*#\|^\s*$' $* |./treeshake > a.treeshake +grep -vh '^\s*#\|^\s*$' $* > a.in + +cat a.in |./treeshake > a.treeshake cat a.treeshake |apps/braces > a.braces |