mason.docs: make docs archive have relative paths.

db4
John Benediktsson 2012-06-19 10:08:14 -07:00
parent 1c4a169f32
commit b958ad4833
1 changed files with 6 additions and 4 deletions

View File

@ -8,10 +8,12 @@ mason.common mason.config namespaces sequences ;
IN: mason.docs
: make-docs-archive ( -- )
{ "tar" "cfz" }
"docs.tar.gz" temp-file suffix
"docs" cache-file suffix
short-running-process ;
[
{ "tar" "cfz" }
"docs.tar.gz" temp-file suffix
"docs" suffix
short-running-process
] with-cache-directory ;
: upload-docs-archive ( -- )
"docs.tar.gz" temp-file