Add make resource that simply generates app/resource.go
Easy to run when you don't want to build a binary.
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,7 +1,9 @@
|
||||
gotty: resource.go main.go app/*.go
|
||||
gotty: app/resource.go main.go app/*.go
|
||||
go build
|
||||
|
||||
resource.go: bindata/hterm.js bindata/index.html bindata/gotty.js
|
||||
resource: app/resource.go
|
||||
|
||||
app/resource.go: bindata/hterm.js bindata/index.html bindata/gotty.js
|
||||
go-bindata -pkg app -ignore=\\.gitkeep -o app/resource.go bindata/
|
||||
gofmt -w app/resource.go
|
||||
|
||||
|
||||
Reference in New Issue
Block a user