autoprop: write props into runtime version folder

For vere, we try to put it into a folder whose name is just the vere
version number. For other runtimes, we cat the whole version string
together.
This commit is contained in:
fang 2022-03-23 22:56:20 +01:00
parent 34fd6c854a
commit 28d1e35774
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -186,13 +186,13 @@
|^ =* base base.task |^ =* base base.task
:+ %sag :+ %sag
=/ ver=@ta =/ ver=@ta
=+ rev=rev =+ .^(vere %$ /(scot %p our.bowl)//(scot %da now.bowl)/zen/ver)
?. ?=([%vere @ ~] rev) ?. ?=([%vere @ ~] rev)
(rap 3 (join '-' rev)) (rap 3 (join '-' rev))
(fall (slaw %ta i.t.rev) i.t.rev) (fall (slaw %ta i.t.rev) i.t.rev)
?- -.task ?- -.task
?(%solid %brass %ivory) /[dap.bowl]/[name]/pill ?(%solid %brass %ivory) /[dap.bowl]/[ver]/[name]/pill
%desk /[dap.bowl]/[name]/jam %desk /[dap.bowl]/[ver]/[name]/jam
== ==
?- -.task ?- -.task
%ivory (ivory:libpill (sys base)) %ivory (ivory:libpill (sys base))