]> gitweb.factorcode.org Git - factor.git/commitdiff
cleanup a few resource paths.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 27 Feb 2018 01:38:07 +0000 (17:38 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 27 Feb 2018 01:38:07 +0000 (17:38 -0800)
basis/editors/vim/generate-syntax/generate-syntax.factor
basis/io/monitors/recursive/recursive-tests.factor
extra/webapps/fjsc/fjsc.factor

index 061e938dcfc98d3a071ac197a3e59da205de2d4d..40cce60443919ae3a0083043509b68b35d003d29 100644 (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
index 8bfb49297fcf5a77e8264994d26ee2bfef85797f..5f0d33487158795bde5e39e17451186141ac2621 100644 (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
index 32d702e961fd9e91392b67af644ef6d0b76b0bae..7e6435bd64f2caeaf92f16438e7036e9b39f411f 100644 (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