cmd/browser: bundle static files in static.go for easier distribution

When we ship the browser executable we don't want to require the user
place the static files (HTML, JS, etc) in a well-known location.
This change bundles those files into the browser executable itself,
making it self-contained.

The generated static.go is excluded from being committed to the repo, as
it should be a pre-distribution step. Those who build from source
already have the files in a well-known location (the package path inside
a Go workspace) so there's no need to check in the generated file.

Change-Id: I3fbf766543370832ccdc0b98b5995dd1a2aae058
Reviewed-on: https://upspin-review.googlesource.com/13060
Reviewed-by: Rob Pike <r@golang.org>
4 files changed
tree: 5f56260cef59113a9c0c855d10dbbbab1420dd2c
  1. client/
  2. cmd/
  3. filesystem/
  4. .travis.yml
  5. AUTHORS
  6. codereview.cfg
  7. CONDUCT.md
  8. CONTRIBUTING.md
  9. CONTRIBUTORS
  10. LICENSE
  11. PATENTS
  12. README.md
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.