diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-30 07:29:15 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-30 07:29:15 -0700 |
commit | 34f37b89447cfbffce7bd3e40164a35b13b5b347 (patch) | |
tree | 4cb9d38a86386c934e379c3558e0122ea7324e40 /tools/treeshake_translate | |
parent | fb50fb081ad55129712da97cac187471b8c87b91 (diff) | |
download | mu-34f37b89447cfbffce7bd3e40164a35b13b5b347.tar.gz |
clean up treeshaking support for baremetal
Check minified sizes by running: tools/translate_minified _files_ ls -l a.bin qemu-system-i386 code.img What I had before was for the linux/ version.
Diffstat (limited to 'tools/treeshake_translate')
-rwxr-xr-x | tools/treeshake_translate | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/treeshake_translate b/tools/treeshake_translate deleted file mode 100755 index 36fcf7c6..00000000 --- a/tools/treeshake_translate +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# Translate SubX into minified ELF binaries for Linux. - -set -e - -grep -vh '^\s*#\|^\s*$' $* > a.in -cat a.in |tools/treeshake > a.treeshake -./translate_subx a.treeshake |