mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
glob: add service-worker to glob
This commit is contained in:
parent
e831dd1bc9
commit
90b8ae0065
@ -105,12 +105,15 @@
|
|||||||
(cat 3 js-name '.js')
|
(cat 3 js-name '.js')
|
||||||
=+ .^(js=@t %cx :(weld home /app/landscape/js/bundle /[js-name]/js))
|
=+ .^(js=@t %cx :(weld home /app/landscape/js/bundle /[js-name]/js))
|
||||||
=+ .^(map=@t %cx :(weld home /app/landscape/js/bundle /[map-name]/map))
|
=+ .^(map=@t %cx :(weld home /app/landscape/js/bundle /[map-name]/map))
|
||||||
|
=+ .^(sw=@t %cx :(weld home /app/landscape/js/bundle /serviceworker/js))
|
||||||
=+ !<(=js=mime (js-tube !>(js)))
|
=+ !<(=js=mime (js-tube !>(js)))
|
||||||
|
=+ !<(=sw=mime (js-tube !>(sw)))
|
||||||
=+ !<(=map=mime (map-tube !>(map)))
|
=+ !<(=map=mime (map-tube !>(map)))
|
||||||
=/ =glob:glob
|
=/ =glob:glob
|
||||||
%- ~(gas by *glob:glob)
|
%- ~(gas by *glob:glob)
|
||||||
:~ /[js-name]/js^js-mime
|
:~ /[js-name]/js^js-mime
|
||||||
/[map-name]/map^map-mime
|
/[map-name]/map^map-mime
|
||||||
|
/serviceworker/js^sw-mime
|
||||||
==
|
==
|
||||||
=/ =path /(cat 3 'glob-' (scot %uv (sham glob)))/glob
|
=/ =path /(cat 3 'glob-' (scot %uv (sham glob)))/glob
|
||||||
[%pass /make %agent [our.bowl %hood] %poke %drum-put !>([path (jam glob)])]~
|
[%pass /make %agent [our.bowl %hood] %poke %drum-put !>([path (jam glob)])]~
|
||||||
|
Loading…
Reference in New Issue
Block a user