Imported the existing codebase and refactored it to work with the new build system.

Adjusted dependencies to use our own repository mirrors.
Modified the Makefile for proper build output and target directory.
This commit is contained in:
kernel 2025-07-31 19:44:16 +03:00
parent a080c85cbc
commit 2424e48e17
118 changed files with 93 additions and 14369 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 builds
go build -o builds/gotty ${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