mirror of
https://github.com/yudai/gotty.git
synced 2025-09-21 21:40:49 +02:00
Refactor
This commit is contained in:
parent
54403dd678
commit
a6133f34b7
54 changed files with 2140 additions and 1334 deletions
10
Makefile
10
Makefile
|
@ -1,14 +1,14 @@
|
|||
OUTPUT_DIR = ./builds
|
||||
GIT_COMMIT = `git rev-parse HEAD`
|
||||
|
||||
gotty: app/resource.go main.go app/*.go
|
||||
gotty: server/asset.go main.go server/*.go webtty/*.go backend/*.go
|
||||
godep go build
|
||||
|
||||
resource: app/resource.go
|
||||
asset: server/asset.go
|
||||
|
||||
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
|
||||
server/asset.go: bindata/static/js/hterm.js bindata/static/js/gotty.js bindata/static/index.html bindata/static/favicon.png
|
||||
go-bindata -prefix bindata -pkg server -ignore=\\.gitkeep -o server/asset.go bindata/...
|
||||
gofmt -w server/asset.go
|
||||
|
||||
bindata:
|
||||
mkdir bindata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue