mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +03:00
kiln: fix subscription paths, add marks
This commit is contained in:
parent
b51877764a
commit
5d1eda5efd
@ -212,8 +212,8 @@
|
||||
++ emil |=((list card:agent:gall) vats(kiln (^emil +<)))
|
||||
++ give
|
||||
|%
|
||||
++ snap [%give %fact ~[/vats] %kiln-vats-snap !>(ark)]
|
||||
++ diff |=(d=^diff [%give %fact ~[/vats] %kiln-vats-diff !>(d)])
|
||||
++ snap [%give %fact ~[/kiln/vats] %kiln-vats-snap !>(ark)]
|
||||
++ diff |=(d=^diff [%give %fact ~[/kiln/vats] %kiln-vats-diff !>(d)])
|
||||
--
|
||||
++ pass
|
||||
|%
|
||||
@ -672,6 +672,8 @@
|
||||
|= =path
|
||||
?> (team:title our src)
|
||||
?+ path ~|(kiln-path/path !!)
|
||||
[%vats ~] abet
|
||||
::
|
||||
[%ark ~]
|
||||
abet(moz :_(moz [%give %fact ~ %kiln-vats-snap !>(ark)]))
|
||||
==
|
||||
|
29
pkg/arvo/mar/kiln-install.hoon
Normal file
29
pkg/arvo/mar/kiln-install.hoon
Normal file
@ -0,0 +1,29 @@
|
||||
|%
|
||||
+$ install
|
||||
[local=term =ship =desk]
|
||||
--
|
||||
|_ inst=install
|
||||
++ grad %noun
|
||||
++ grow
|
||||
|%
|
||||
++ noun inst
|
||||
++ json
|
||||
%- pairs:enjs:format
|
||||
:~ local+s+local.inst
|
||||
desk+s+desk.inst
|
||||
ship+s+(scot %p ship.inst)
|
||||
==
|
||||
--
|
||||
++ grab
|
||||
|%
|
||||
++ noun install
|
||||
++ json
|
||||
^- $-(^json install)
|
||||
=, dejs:format
|
||||
%- ot
|
||||
:~ local+so
|
||||
ship+(su ;~(pfix sig fed:ag))
|
||||
desk+so
|
||||
==
|
||||
--
|
||||
--
|
13
pkg/arvo/mar/kiln-uninstall.hoon
Normal file
13
pkg/arvo/mar/kiln-uninstall.hoon
Normal file
@ -0,0 +1,13 @@
|
||||
|_ =desk
|
||||
++ grad %noun
|
||||
++ grow
|
||||
|%
|
||||
++ noun desk
|
||||
++ json s+desk
|
||||
--
|
||||
++ grab
|
||||
|%
|
||||
++ noun ^desk
|
||||
++ json so:dejs:format
|
||||
--
|
||||
--
|
Loading…
Reference in New Issue
Block a user