USING: tools.deploy.config ;
H{
+ { deploy-io 3 }
+ { deploy-word-defs? f }
{ deploy-reflection 1 }
- { deploy-math? t }
- { deploy-ui? t }
- { deploy-name "Bunny" }
{ deploy-compiler? t }
- { deploy-threads? t }
- { deploy-word-defs? f }
- { deploy-c-types? f }
- { deploy-io 3 }
- { "stop-after-last-window?" t }
{ deploy-random? f }
+ { deploy-c-types? f }
+ { deploy-name "Bunny" }
{ deploy-word-props? f }
+ { deploy-threads? t }
+ { "stop-after-last-window?" t }
+ { deploy-ui? t }
+ { deploy-math? t }
}
] curry unit-test\r
] each\r
\r
-USING: http.client furnace.actions http.server http.server.dispatchers\r
+USING: http.client http.server http.server.dispatchers\r
http.server.responses http.server.static io.servers.connection ;\r
\r
-: add-quit-action\r
- <action>\r
- [ stop-server "Goodbye" "text/html" <content> ] >>display\r
- "quit" add-responder ;\r
+SINGLETON: quit-responder\r
+\r
+M: quit-responder call-responder*\r
+ 2drop stop-server "Goodbye" "text/html" <content> ;\r
+\r
+: add-quot-responder ( responder -- responder )\r
+ quit-responder "quit" add-responder ;\r
\r
: test-httpd ( -- )\r
#! Return as soon as server is running.\r
[ ] [\r
[\r
<dispatcher>\r
- add-quit-action\r
+ add-quot-responder\r
"resource:extra/http/test" <static> >>default\r
main-responder set\r
\r
USING: tools.deploy.config ;
H{
{ deploy-math? t }
- { deploy-reflection 2 }
+ { deploy-reflection 1 }
{ deploy-io 3 }
{ deploy-c-types? f }
- { deploy-random? t }
+ { deploy-random? f }
{ deploy-ui? f }
{ deploy-name "tools.deploy.test.5" }
{ deploy-word-defs? f }