.PHONY: build test clean pkg-deb # Build the govpp-snmp-agentx binary build: go build -o govpp-snmp-agentx . # Run all tests test: go test ./... # Clean build artifacts clean: rm -f govpp-snmp-agentx [ -d debian/go ] && chmod -R +w debian/go || true rm -rf debian/.debhelper debian/.gocache debian/go debian/govpp-snmp-agentx debian/files debian/*.substvars debian/debhelper-build-stamp rm -f ../govpp-snmp-agentx_* # Build Debian package pkg-deb: fakeroot dpkg-buildpackage -us -uc -b