tools.deploy.shaker: strip out GObject introspection info

db4
Slava Pestov 2011-02-27 20:00:30 -06:00
parent d6fe7f4c28
commit 8c14dd65b5
2 changed files with 11 additions and 0 deletions

View File

@ -93,6 +93,13 @@ IN: tools.deploy.shaker
run-file run-file
] when ; ] when ;
: strip-gobject ( -- )
"gobject-introspection.types" vocab [
"Stripping GObject type info" show
"vocab:tools/deploy/shaker/strip-gobject.factor"
run-file
] when ;
: strip-specialized-arrays ( -- ) : strip-specialized-arrays ( -- )
strip-dictionary? "specialized-arrays" vocab and [ strip-dictionary? "specialized-arrays" vocab and [
"Stripping specialized arrays" show "Stripping specialized arrays" show
@ -534,6 +541,7 @@ SYMBOL: deploy-vocab
strip-destructors strip-destructors
strip-call strip-call
strip-cocoa strip-cocoa
strip-gobject
strip-debugger strip-debugger
strip-ui-error-hook strip-ui-error-hook
strip-specialized-arrays strip-specialized-arrays

View File

@ -0,0 +1,3 @@
USING: namespaces assocs gobject-introspection.types ;
type-infos global delete-at