Add mechanism for bundling UI assets. (#153)
* Add mechanism for bundling UI assets. The scripts/uigen.sh script will check out the UI repo, build assets, create a static assets file, and clean up. The dev Makefile target has been modified to run this script if no assets file is found. There is also a build-ui target that will unilaterally update (the dev target only builds if the file isn't found, but doesn't update). The handler has been updated to add the default org ID as a header if the request path is "/". Co-authored-by: Randall Morey <randall@randallmorey.com>
This commit is contained in:
1 parent
8d8bb42418
commit
8da4effd5e
10 files changed
+147
-65
No files matched your search
@@ -118,5 +118,7 @@ Sessionx.vim
|
||||
main
|
||||
/pkg/
|
||||
/bin/
|
||||
internal/ui/assets.go
|
||||
update-ui-assets*
|
||||
|
||||
# vim: set filetype=conf :
|
||||
Reference in new issue
Block a user