From 96610a47a8bcf087b9aa12686b1c46199b34153b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Fri, 16 Sep 2016 15:26:58 +0200 Subject: [PATCH] none: looks like this vocab isn't needed Because -e="..." already terminates after evaluation so using -run=none isn't needed. --- basis/bootstrap/stage2.factor | 1 - basis/command-line/command-line-docs.factor | 4 ++-- basis/none/authors.txt | 1 - basis/none/deploy.factor | 12 ------------ basis/none/none-docs.factor | 4 ---- basis/none/none.factor | 6 ------ basis/none/summary.txt | 1 - 7 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 basis/none/authors.txt delete mode 100644 basis/none/deploy.factor delete mode 100644 basis/none/none-docs.factor delete mode 100644 basis/none/none.factor delete mode 100644 basis/none/summary.txt diff --git a/basis/bootstrap/stage2.factor b/basis/bootstrap/stage2.factor index d6749fdf7d..3ec2024827 100644 --- a/basis/bootstrap/stage2.factor +++ b/basis/bootstrap/stage2.factor @@ -83,7 +83,6 @@ CONSTANT: default-components ] [ "debugger" require "listener" require - "none" require ] if load-components diff --git a/basis/command-line/command-line-docs.factor b/basis/command-line/command-line-docs.factor index 3c3da06d90..8b49df4ef3 100644 --- a/basis/command-line/command-line-docs.factor +++ b/basis/command-line/command-line-docs.factor @@ -96,8 +96,8 @@ $nl ARTICLE: "standard-cli-args" "Command line switches for general usage" "The following command line switches can be passed to a bootstrapped Factor image:" { $table - { { $snippet "-e=" { $emphasis "code" } } { "This specifies a code snippet to evaluate. If you want Factor to exit immediately after, also specify " { $snippet "-run=none" } "." } } - { { $snippet "-run=" { $emphasis "vocab" } } { { $snippet { $emphasis "vocab" } } " is the name of a vocabulary with a " { $link POSTPONE: MAIN: } " hook to run on startup, for example " { $vocab-link "listener" } ", " { $vocab-link "ui.tools" } " or " { $vocab-link "none" } "." } } + { { $snippet "-e=" { $emphasis "code" } } { "This specifies a code snippet to evaluate and then exit Factor." } } + { { $snippet "-run=" { $emphasis "vocab" } } { { $snippet { $emphasis "vocab" } } " is the name of a vocabulary with a " { $link POSTPONE: MAIN: } " hook to run on startup, for example " { $vocab-link "listener" } " or " { $vocab-link "ui.tools" } "." } } { { $snippet "-no-user-init" } { "Inhibits the running of user initialization files on startup. See " { $link "rc-files" } "." } } } ; diff --git a/basis/none/authors.txt b/basis/none/authors.txt deleted file mode 100644 index 1901f27a24..0000000000 --- a/basis/none/authors.txt +++ /dev/null @@ -1 +0,0 @@ -Slava Pestov diff --git a/basis/none/deploy.factor b/basis/none/deploy.factor deleted file mode 100644 index 06cc8c6a20..0000000000 --- a/basis/none/deploy.factor +++ /dev/null @@ -1,12 +0,0 @@ -USING: tools.deploy.config ; -H{ - { deploy-math? f } - { deploy-word-defs? f } - { deploy-word-props? f } - { deploy-name "none" } - { "stop-after-last-window?" t } - { deploy-c-types? f } - { deploy-io 1 } - { deploy-ui? f } - { deploy-reflection 1 } -} diff --git a/basis/none/none-docs.factor b/basis/none/none-docs.factor deleted file mode 100644 index e08300675f..0000000000 --- a/basis/none/none-docs.factor +++ /dev/null @@ -1,4 +0,0 @@ -USING: help.markup help.syntax none ; - -HELP: none -{ $description "Passing the " { $snippet "-run=none" } " command line switch will make Factor exit as soon as it finishes running any source files specified on the command line." } ; diff --git a/basis/none/none.factor b/basis/none/none.factor deleted file mode 100644 index 77941479aa..0000000000 --- a/basis/none/none.factor +++ /dev/null @@ -1,6 +0,0 @@ -! Just a dummy shell for the -run switch... -IN: none - -: none ( -- ) ; - -MAIN: none diff --git a/basis/none/summary.txt b/basis/none/summary.txt deleted file mode 100644 index 1a46dd9acf..0000000000 --- a/basis/none/summary.txt +++ /dev/null @@ -1 +0,0 @@ -Dummy module for command-line usage