cleanup a few resource paths.
parent
b139a896ef
commit
ce1de81ec6
|
@ -3,8 +3,8 @@ USING: html.templates html.templates.fhtml io.files io.pathnames ;
|
||||||
IN: editors.vim.generate-syntax
|
IN: editors.vim.generate-syntax
|
||||||
|
|
||||||
: generate-vim-syntax ( -- )
|
: generate-vim-syntax ( -- )
|
||||||
"misc/factor.vim.fgen" resource-path <fhtml>
|
"resource:misc/factor.vim.fgen" <fhtml>
|
||||||
"misc/vim/syntax/factor.vim" resource-path
|
"resource:misc/vim/syntax/factor.vim"
|
||||||
template-convert ;
|
template-convert ;
|
||||||
|
|
||||||
MAIN: generate-vim-syntax
|
MAIN: generate-vim-syntax
|
||||||
|
|
|
@ -33,7 +33,7 @@ M: mock-io-backend link-info
|
||||||
|
|
||||||
{ } [
|
{ } [
|
||||||
mock-io-backend io-backend [
|
mock-io-backend io-backend [
|
||||||
"resource:core/io" resource-path <mailbox> <recursive-monitor> dispose
|
"resource:core/io" <mailbox> <recursive-monitor> dispose
|
||||||
] with-variable
|
] with-variable
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
|
@ -56,6 +56,6 @@ M: mock-io-backend link-info
|
||||||
|
|
||||||
! Test that disposing twice is allowed
|
! Test that disposing twice is allowed
|
||||||
{ } [
|
{ } [
|
||||||
"resource:core/io" resource-path <mailbox> <recursive-monitor>
|
"resource:core/io" <mailbox> <recursive-monitor>
|
||||||
[ dispose ] [ dispose ] bi
|
[ dispose ] [ dispose ] bi
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
|
@ -80,8 +80,8 @@ TUPLE: fjsc < dispatcher ;
|
||||||
|
|
||||||
: <fjsc> ( -- fjsc )
|
: <fjsc> ( -- fjsc )
|
||||||
dispatcher new-dispatcher
|
dispatcher new-dispatcher
|
||||||
"extra/webapps/fjsc/www" resource-path <static> "static" add-responder
|
"resource:extra/webapps/fjsc/www" <static> "static" add-responder
|
||||||
"extra/fjsc/resources" resource-path <static> "fjsc" add-responder
|
"resource:extra/fjsc/resources" <static> "fjsc" add-responder
|
||||||
fjsc new-dispatcher
|
fjsc new-dispatcher
|
||||||
<main-action> "" add-responder
|
<main-action> "" add-responder
|
||||||
<compile-action> "compile" add-responder
|
<compile-action> "compile" add-responder
|
||||||
|
|
Loading…
Reference in New Issue