about summary refs log blame commit diff stats
path: root/tools/treeshake_translate
blob: ba80dea0378f0aeb690dabc6004bdbcaff6d480b (plain) (tree)
1
2
3
4
5
6
7
8







                                                      
#!/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
./ntranslate a.treeshake