Merge pull request #1708 from urbit/mp-publish-info

Publish: Add a check for publish-info when importing a notebook
This commit is contained in:
Jared Tobin 2019-09-09 08:38:42 -02:30 committed by GitHub
commit d7f9d9aefc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1251,6 +1251,7 @@
[~ this]
=/ files=(list path)
.^((list path) %ct (weld our-beak /web/publish/[coll.act]))
?> ?=(^ (find [/web/publish/[coll.act]/publish-info]~ files))
=/ all=[moves=(list move) builds=(set wire)]
%+ roll files
|= [pax=path out=[moves=(list move) builds=(set wire)]]