Tree-shaker now merges wrappers; saves a few kb
parent
92cc760070
commit
9c40cb4a05
|
@ -343,6 +343,9 @@ IN: tools.deploy.shaker
|
||||||
: compress-strings ( -- )
|
: compress-strings ( -- )
|
||||||
[ string? ] [ ] "strings" compress ;
|
[ string? ] [ ] "strings" compress ;
|
||||||
|
|
||||||
|
: compress-wrappers ( -- )
|
||||||
|
[ wrapper? ] [ ] "wrappers" compress ;
|
||||||
|
|
||||||
: finish-deploy ( final-image -- )
|
: finish-deploy ( final-image -- )
|
||||||
"Finishing up" show
|
"Finishing up" show
|
||||||
>r { } set-datastack r>
|
>r { } set-datastack r>
|
||||||
|
@ -391,7 +394,8 @@ SYMBOL: deploy-vocab
|
||||||
r> strip-words
|
r> strip-words
|
||||||
compress-byte-arrays
|
compress-byte-arrays
|
||||||
compress-quotations
|
compress-quotations
|
||||||
compress-strings ;
|
compress-strings
|
||||||
|
compress-wrappers ;
|
||||||
|
|
||||||
: (deploy) ( final-image vocab config -- )
|
: (deploy) ( final-image vocab config -- )
|
||||||
#! Does the actual work of a deployment in the slave
|
#! Does the actual work of a deployment in the slave
|
||||||
|
|
Loading…
Reference in New Issue