Update toolchain
* Use go modules * Remove vendor/
This commit is contained in:
3
Makefile
3
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user