refactor: move all app code to internal/termapp and entry to cmd/

Consolidate remaining package main files into internal/termapp for
clean separation: cmd/serialterminal/ is the sole entry point.
Update .goreleaser.yaml to build from ./cmd/serialterminal.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
JiXieShi
2026-05-23 21:56:45 +08:00
parent 65c1a48f10
commit 8139162174
18 changed files with 26 additions and 18 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ before:
# - go generate ./...
builds:
- env:
- main: ./cmd/serialterminal
env:
- CGO_ENABLED=0
goos:
- linux