clay: wip migrate from desk jams

To work around mark availability issues.
This commit is contained in:
Fang 2021-09-21 00:28:31 +02:00
parent 55306b503c
commit c0bfab9bf5
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972
2 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,10 @@
:: +desk-jam: jam ankh from desk
::
|= $: [now=@da eny=@uvJ bec=beak]
[=desk ~]
~
==
:- %jam
%- jam
=< ank
.^(dome:clay %cv /(scot %p p.bec)/[desk]/(scot %da now))

View File

@ -1598,8 +1598,7 @@
:~ :^ hen %pass /dist/[desk]/create
%^ new-desk:cloy desk
(latest-tako desk)
%- ~(run by (~(mup an:cloy ank.dom) /tmp/[desk]))
|=([* =mark * =noun] [mark noun])
;;((map path page) (cue (get-tmp-jam desk)))
::
:^ hen %pass /dist/[desk]/install
[%g %deal [our our] %hood %poke %kiln-install !>([desk our desk])]
@ -1611,6 +1610,17 @@
?~ doj=(~(get by dos.rom) desk) ~
=, dom.u.doj
(~(get by hit) let)
::
++ get-tmp-jam
|= =desk
^- @
~| [%tmp desk]
?~ tmp=(~(get by dir.ank.dom) ~.tmp) !!
?~ new=(~(get by dir.u.tmp) desk) !!
?~ fil.u.new !!
=* fil u.fil.u.new
?> =(%jam p.q.fil)
;;(@ q.q.fil)
--
:: +is-kernel-path: should changing .pax cause a kernel or vane reload?
::