gotty/Makefile

20 lines
585 B
Makefile
Raw Normal View History

2015-08-16 17:47:23 +08:00
gotty: resource.go main.go app/*.go
go build
resource.go: bindata/hterm.js bindata/index.html bindata/gotty.js
go-bindata -pkg app -ignore=\\.gitkeep -o app/resource.go bindata/
2015-08-20 16:16:13 +08:00
gofmt -w app/resource.go
2015-08-16 17:47:23 +08:00
bindata:
mkdir bindata
2015-08-17 06:00:17 +08:00
2015-08-16 17:47:23 +08:00
bindata/hterm.js: bindata libapps/hterm/js/*.js
cd libapps && \
LIBDOT_SEARCH_PATH=`pwd` ./libdot/bin/concat.sh -i ./hterm/concat/hterm_all.concat -o ../bindata/hterm.js
bindata/index.html: bindata resources/index.html
cp resources/index.html bindata/index.html
bindata/gotty.js: bindata resources/gotty.js
cp resources/gotty.js bindata/gotty.js