change temp-file to cache-file where appropriate
parent
480545a683
commit
5948f53725
|
@ -127,7 +127,7 @@ M: topic url-of topic>filename ;
|
|||
] with-scope ;
|
||||
|
||||
: generate-help ( -- )
|
||||
"docs" temp-file
|
||||
"docs" cache-file
|
||||
[ make-directories ]
|
||||
[
|
||||
[
|
||||
|
|
|
@ -61,7 +61,7 @@ ERROR: can't-deploy-library-file library ;
|
|||
] { } make ;
|
||||
|
||||
: staging-image-name ( profile -- name )
|
||||
"-" join "staging." ".image" surround temp-file ;
|
||||
"-" join "staging." ".image" surround cache-file ;
|
||||
|
||||
DEFER: ?make-staging-image
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ IN: bunny.model
|
|||
ascii [ parse-model ] with-file-reader
|
||||
[ normals ] 2keep 3array ;
|
||||
|
||||
: model-path ( -- path ) "bun_zipper.ply" temp-file ;
|
||||
: model-path ( -- path ) "bun_zipper.ply" cache-file ;
|
||||
|
||||
: model-url ( -- url ) "http://duriansoftware.com/joe/media/bun_zipper.ply" ;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ math.intervals interval-maps memoize csv accessors assocs
|
|||
strings math splitting grouping arrays combinators.smart ;
|
||||
IN: geo-ip
|
||||
|
||||
: db-path ( -- path ) "IpToCountry.csv" temp-file ;
|
||||
: db-path ( -- path ) "IpToCountry.csv" cache-file ;
|
||||
|
||||
CONSTANT: db-url "http://software77.net/geo-ip/?DL=1"
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ UNIFORM-TUPLE: loading-uniforms
|
|||
[ length ] bi
|
||||
] bi* ;
|
||||
|
||||
: bunny-model-path ( -- path ) "bun_zipper.ply" temp-file ;
|
||||
: bunny-model-path ( -- path ) "bun_zipper.ply" cache-file ;
|
||||
|
||||
CONSTANT: bunny-model-url "http://duriansoftware.com/joe/media/bun_zipper.ply"
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ TUPLE: reporting-site site-id email url up? changed? last-up? error last-error ;
|
|||
f <watching-site> select-tuples
|
||||
[ site-id>> site new swap >>site-id select-tuple ] map ;
|
||||
|
||||
: site-watcher-path ( -- path ) "site-watcher.db" temp-file ; inline
|
||||
: site-watcher-path ( -- path ) "site-watcher.db" cache-file ; inline
|
||||
|
||||
: with-site-watcher-db ( quot -- )
|
||||
site-watcher-path <sqlite-db> swap with-db ; inline
|
||||
|
|
Loading…
Reference in New Issue