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:
Iwasaki Yudai 2015-08-21 13:45:43 +09:00
parent 5eea5067db
commit 7e2befa1bb

View File

@ -1,7 +1,9 @@
gotty: resource.go main.go app/*.go gotty: app/resource.go main.go app/*.go
go build 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/ go-bindata -pkg app -ignore=\\.gitkeep -o app/resource.go bindata/
gofmt -w app/resource.go gofmt -w app/resource.go