cleanup a few resource paths.

windows-high-dpi
John Benediktsson 2018-02-26 17:38:07 -08:00
parent b139a896ef
commit ce1de81ec6
3 changed files with 6 additions and 6 deletions

View File

@ -3,8 +3,8 @@ USING: html.templates html.templates.fhtml io.files io.pathnames ;
IN: editors.vim.generate-syntax
: generate-vim-syntax ( -- )
"misc/factor.vim.fgen" resource-path <fhtml>
"misc/vim/syntax/factor.vim" resource-path
"resource:misc/factor.vim.fgen" <fhtml>
"resource:misc/vim/syntax/factor.vim"
template-convert ;
MAIN: generate-vim-syntax

View File

@ -33,7 +33,7 @@ M: mock-io-backend link-info
{ } [
mock-io-backend io-backend [
"resource:core/io" resource-path <mailbox> <recursive-monitor> dispose
"resource:core/io" <mailbox> <recursive-monitor> dispose
] with-variable
] unit-test
@ -56,6 +56,6 @@ M: mock-io-backend link-info
! Test that disposing twice is allowed
{ } [
"resource:core/io" resource-path <mailbox> <recursive-monitor>
"resource:core/io" <mailbox> <recursive-monitor>
[ dispose ] [ dispose ] bi
] unit-test

View File

@ -80,8 +80,8 @@ TUPLE: fjsc < dispatcher ;
: <fjsc> ( -- fjsc )
dispatcher new-dispatcher
"extra/webapps/fjsc/www" resource-path <static> "static" add-responder
"extra/fjsc/resources" resource-path <static> "fjsc" add-responder
"resource:extra/webapps/fjsc/www" <static> "static" add-responder
"resource:extra/fjsc/resources" <static> "fjsc" add-responder
fjsc new-dispatcher
<main-action> "" add-responder
<compile-action> "compile" add-responder