tools.deploy: add deploy-help? option to include documentation in deployed image

db4
Joe Groff 2011-08-04 14:27:29 -07:00
parent 4b545a316a
commit 5522015885
3 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,7 @@ ERROR: can't-deploy-library-file library ;
deploy-math? get [ "math" , ] when
deploy-threads? get [ "threads" , ] when
"compiler" ,
deploy-help? get [ "help" , ] when
deploy-ui? get [ "ui" , ] when
deploy-unicode? get [ "unicode" , ] when
native-io? [ "io" , ] when

View File

@ -11,6 +11,7 @@ SYMBOL: deploy-console?
SYMBOL: deploy-math?
SYMBOL: deploy-unicode?
SYMBOL: deploy-threads?
SYMBOL: deploy-help?
SYMBOL: deploy-io
@ -57,6 +58,7 @@ SYMBOL: deploy-image
{ deploy-io 2 }
{ deploy-reflection 1 }
{ deploy-threads? t }
{ deploy-help? f }
{ deploy-unicode? f }
{ deploy-math? t }
{ deploy-word-props? f }

View File

@ -34,6 +34,7 @@ TUPLE: deploy-gadget < pack vocab settings ;
"Advanced:" <label> add-gadget
deploy-math? get "Rational and complex number support" <checkbox> add-gadget
deploy-threads? get "Threading support" <checkbox> add-gadget
deploy-help? get "Include docs (requires math and threads)" <checkbox> add-gadget
deploy-unicode? get "Unicode character literal support" <checkbox> add-gadget
deploy-word-props? get "Retain all word properties" <checkbox> add-gadget
deploy-word-defs? get "Retain all word definitions" <checkbox> add-gadget