: strip-encodings ( -- )
os unix? [
[
- P" resource:core/io/encodings/utf16/utf16.factor"
- P" resource:core/io/encodings/utf16n/utf16n.factor" [ forget ] bi@
- "io.encodings.utf16"
- "io.encodings.utf16n" [ loaded-child-vocab-names [ forget-vocab ] each ] bi@
+ P" resource:core/io/encodings/utf16/utf16.factor" forget
+ "io.encodings.utf16" loaded-child-vocab-names [ forget-vocab ] each
] with-compilation-unit
] when ;
! Set dll paths
os windows? [ "windows" require ] when
- "staging" get "deploy-vocab" get or [
+ "staging" get [
"stage2: deployment mode" print
] [
"debugger" require
"listener" require
- "none" require
] if
load-components
nano-count swap - bootstrap-time set-global
print-report
- "deploy-vocab" get [
- "tools.deploy.shaker" run
+ "staging" get [
+ "vocab:bootstrap/finish-staging.factor" run-file
] [
- "staging" get [
- "vocab:bootstrap/finish-staging.factor" run-file
- ] [
- "vocab:bootstrap/finish-bootstrap.factor" run-file
- ] if
-
- f error set-global
- f original-error set-global
- f error-continuation set-global
- "output-image" get save-image-and-exit
+ "vocab:bootstrap/finish-bootstrap.factor" run-file
] if
+
+ f error set-global
+ f original-error set-global
+ f error-continuation set-global
+ "output-image" get save-image-and-exit
] [
drop
[