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