mirror of
https://github.com/yudai/gotty.git
synced 2025-09-21 21:40:49 +02:00
Add favicon
This commit is contained in:
parent
e79e78a323
commit
ee77ec1b3a
7 changed files with 37 additions and 9 deletions
7
Makefile
7
Makefile
|
@ -3,7 +3,7 @@ gotty: app/resource.go main.go app/*.go
|
|||
|
||||
resource: app/resource.go
|
||||
|
||||
app/resource.go: bindata/static/js/hterm.js bindata/static/js/gotty.js bindata/static/index.html
|
||||
app/resource.go: bindata/static/js/hterm.js bindata/static/js/gotty.js bindata/static/index.html bindata/static/favicon.png
|
||||
go-bindata -prefix bindata -pkg app -ignore=\\.gitkeep -o app/resource.go bindata/...
|
||||
gofmt -w app/resource.go
|
||||
|
||||
|
@ -16,8 +16,11 @@ bindata/static: bindata
|
|||
bindata/static/index.html: bindata/static resources/index.html
|
||||
cp resources/index.html bindata/static/index.html
|
||||
|
||||
bindata/static/favicon.png: bindata/static resources/favicon.png
|
||||
cp resources/favicon.png bindata/static/favicon.png
|
||||
|
||||
bindata/static/js: bindata/static
|
||||
mkdir bindata/static/js
|
||||
mkdir -p bindata/static/js
|
||||
|
||||
bindata/static/js/hterm.js: bindata/static/js libapps/hterm/js/*.js
|
||||
cd libapps && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue