mirror of
https://github.com/yudai/gotty.git
synced 2026-02-24 08:54:07 +01:00
Merge profile and config files and support custom index file
This commit is contained in:
parent
25a5bc0b89
commit
d3e48aa3ae
8 changed files with 111 additions and 121 deletions
19
Makefile
19
Makefile
|
|
@ -3,7 +3,7 @@ gotty: app/resource.go main.go app/*.go
|
|||
|
||||
resource: app/resource.go
|
||||
|
||||
app/resource.go: bindata/static/hterm.js bindata/static/gotty.js bindata/static/index.html
|
||||
app/resource.go: bindata/static/js/hterm.js bindata/static/js/gotty.js bindata/static/index.html
|
||||
go-bindata -prefix bindata -pkg app -ignore=\\.gitkeep -o app/resource.go bindata/...
|
||||
gofmt -w app/resource.go
|
||||
|
||||
|
|
@ -13,12 +13,15 @@ bindata:
|
|||
bindata/static: bindata
|
||||
mkdir bindata/static
|
||||
|
||||
bindata/static/hterm.js: bindata/static libapps/hterm/js/*.js
|
||||
cd libapps && \
|
||||
LIBDOT_SEARCH_PATH=`pwd` ./libdot/bin/concat.sh -i ./hterm/concat/hterm_all.concat -o ../bindata/static/hterm.js
|
||||
|
||||
bindata/static/gotty.js: bindata/static resources/gotty.js
|
||||
cp resources/gotty.js bindata/static/gotty.js
|
||||
|
||||
bindata/static/index.html: bindata/static resources/index.html
|
||||
cp resources/index.html bindata/static/index.html
|
||||
|
||||
bindata/static/js: bindata/static
|
||||
mkdir bindata/static/js
|
||||
|
||||
bindata/static/js/hterm.js: bindata/static/js libapps/hterm/js/*.js
|
||||
cd libapps && \
|
||||
LIBDOT_SEARCH_PATH=`pwd` ./libdot/bin/concat.sh -i ./hterm/concat/hterm_all.concat -o ../bindata/static/js/hterm.js
|
||||
|
||||
bindata/static/js/gotty.js: bindata/static/js resources/gotty.js
|
||||
cp resources/gotty.js bindata/static/js/gotty.js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue