writes web/plan to whichever desk has been |served

This commit is contained in:
Joseph Bryan 2017-10-06 19:48:59 -04:00
parent 60f40e7f95
commit 94d6b3ccfa
2 changed files with 6 additions and 1 deletions

View File

@ -1984,6 +1984,8 @@
?. ?=($$ ren) [~ ~]
?. ?=($$ -.lot) [~ ~]
?+ syd [~ ~]
$serv
``[%path !>((tope top))]
$host
%- (lift (lift |=(a/hart [%hart !>(a)])))
^- (unit (unit hart))

View File

@ -50,8 +50,11 @@
|= dif/plan-diff ^+ abet
?. =(our src)
~|(foreign-write+[our=our src=src] !!)
=/ sev
=+ .^(path %e /(scot %p our)/serv/(scot %da now))
?>(?=({@tas @tas *} -) -)
=; sob/soba
?~(sob abet abet:(emit %info write+~ our `toro`[q.byk %& sob]))
?~(sob abet abet:(emit %info write+~ our `toro`[i.t.sev %& sob]))
=+ pax=`path`/web/plan
=+ paf=(tope beak-now (flop pax))
?~ [fil:.^(arch %cy paf)]