Refactor
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user