urbit-globbing

  • create dist, copy to desk (do this on a comet or something, don’t actually put /dist in the desk you’re building and pushing to github)

  • create glob in dojo:

:: thread for make-glob in landscape
-landscape!make-glob %vapor /dist
                  :: desk name
                         :: path to dist folder

good output looks like:

[ %globbed
  {/assets/index.e42de54d/js /assets/style.58d5ebd0/css /index/html}
]
:: MAKE SURE THE GLOB HAS FILES IN IT ^
> -landscape!make-glob %vapor /dist
0
  • base+'deskname'
    • (docket binds apps/[whatever stated as deskname above])
  • glob-http+['https://freedom-club.sfo2.digitaloceanspaces.com/glob-0v5.dkjij.2t1rq.5j1m3.f2djg.usfgg.glob' 0v5.dkjij.2t1rq.5j1m3.f2djg.usfgg]
    • note, the first item in the cell is the full glob path. the second is just the glob version which is is the filename of the glob without the “glob-” nor the “.glob”
      • don’t have a ‘site’ entry!
  • commit the desk in urbit
Links to this page