mirror of https://github.com/status-im/consul.git
f0a9b30174
Replace bindata packages with stdlib go:embed. Modernize some uiserver code with newer interfaces introduced in go 1.16 (mainly working with fs.File instead of http.File. Remove steps that are no longer used from our build files. Add Github Action to detect differences in agent/uiserver/dist and verify that the files are correct (by compiling UI assets and comparing contents). |
||
---|---|---|
.. | ||
dist | ||
testdata | ||
README.md | ||
buf_index_fs.go | ||
buffered_file.go | ||
redirect_fs.go | ||
ui_template_data.go | ||
uiserver.go | ||
uiserver_test.go |
README.md
uiserver
The contents of dist/
are generated by make ui
in the root of this repo
which compiles ui
assets and copies them here.
A CI job (publish-static-assets
) will detect any diffs in ui
files and
commit the compiled files. Avoid committing files manually to dist/
.