From 7e2befa1bbd422b83d2f951aac702b794a7b25ef Mon Sep 17 00:00:00 2001 From: Iwasaki Yudai Date: Fri, 21 Aug 2015 13:45:43 +0900 Subject: [PATCH] Add `make resource` that simply generates app/resource.go Easy to run when you don't want to build a binary. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0dbe501..f719658 100644 --- a/Makefile +++ b/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