mirror of
https://github.com/yudai/gotty.git
synced 2025-09-22 05:50:48 +02: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
1 changed files with 4 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue