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. .travis.yml
  2. AUTHORS
  3. CONDUCT.md
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README.md
  9. client/
  10. cmd/
  11. codereview.cfg
  12. filesystem/
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.