Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 584 Bytes

build.md

File metadata and controls

23 lines (14 loc) · 584 Bytes

Build guide

It is ok to use go build ./cmd/cgtproxy to build this project if you want to install it from source.

But it's recommend to use the Makefile I provided to make sure execute go generate before buid.

test

Some tests need to run in network namespace to void mess up your nft configuration.

These tests will be skipped when running without a environment variable set.

Check sources for details.

To run these tests locally, use the test target defined in Makefile by running make test.