]> gitweb.factorcode.org Git - factor.git/commitdiff
none: looks like this vocab isn't needed
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 16 Sep 2016 13:26:58 +0000 (15:26 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Fri, 16 Sep 2016 13:26:58 +0000 (15:26 +0200)
Because -e="..." already terminates after evaluation so using -run=none
isn't needed.

basis/bootstrap/stage2.factor
basis/command-line/command-line-docs.factor
basis/none/authors.txt [deleted file]
basis/none/deploy.factor [deleted file]
basis/none/none-docs.factor [deleted file]
basis/none/none.factor [deleted file]
basis/none/summary.txt [deleted file]

index d6749fdf7d5301d89247f68fe67dc480a5ad76a4..3ec202482745c14525492288846fa7382dff574e 100644 (file)
@@ -83,7 +83,6 @@ CONSTANT: default-components
     ] [
         "debugger" require
         "listener" require
-        "none" require
     ] if
 
     load-components
index 3c3da06d900113f04356f36587a3b0fe4d224e2e..8b49df4ef37208b11bee4427127ae9de4291b9d1 100644 (file)
@@ -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 (file)
index 1901f27..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Slava Pestov
diff --git a/basis/none/deploy.factor b/basis/none/deploy.factor
deleted file mode 100644 (file)
index 06cc8c6..0000000
+++ /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 (file)
index e083006..0000000
+++ /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 (file)
index 7794147..0000000
+++ /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 (file)
index 1a46dd9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Dummy module for command-line usage