mirror of
https://github.com/fatedier/frp.git
synced 2026-03-16 23:09:16 +08:00
943 B
943 B
AGENTS.md
Development Commands
Build
make build- Build both frps and frpc binariesmake frps- Build server binary onlymake frpc- Build client binary onlymake all- Build everything with formatting
Testing
make test- Run unit testsmake e2e- Run end-to-end testsmake e2e-trace- Run e2e tests with trace loggingmake alltest- Run all tests including vet, unit tests, and e2e
Code Quality
make fmt- Run go fmtmake fmt-more- Run gofumpt for more strict formattingmake gci- Run gci import organizermake vet- Run go vetgolangci-lint run- Run comprehensive linting (configured in .golangci.yml)
Assets
make web- Build web dashboards (frps and frpc)
Cleanup
make clean- Remove built binaries and temporary files
Testing
- E2E tests using Ginkgo/Gomega framework
- Mock servers in
/test/e2e/mock/ - Run:
make e2eormake alltest