mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-12-22 23:17:29 +00:00
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:
parent
5eea5067db
commit
7e2befa1bb
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user