Update toolchain

* Use go modules
 * Remove vendor/
This commit is contained in:
Søren L. Hansen
2021-04-09 19:21:36 -07:00
parent 4b2f84448c
commit ac0a15df8a
108 changed files with 149 additions and 14292 deletions

View File

@@ -4,7 +4,8 @@ VERSION = 2.0.0-alpha.3
BUILD_OPTIONS = -ldflags "-X main.Version=$(VERSION) -X main.CommitID=$(GIT_COMMIT)"
gotty: main.go server/*.go webtty/*.go backend/*.go Makefile
godep go build ${BUILD_OPTIONS}
mkdir -p ${OUTPUT_DIR}
go build -o ${OUTPUT_DIR} ${BUILD_OPTIONS} ./...
.PHONY: asset
asset: bindata/static/js/gotty-bundle.js bindata/static/index.html bindata/static/favicon.png bindata/static/css/index.css bindata/static/css/xterm.css bindata/static/css/xterm_customize.css