Move Go code to src/

This commit is contained in:
Pim van Pelt
2025-06-17 00:47:08 +02:00
parent c0bcdd5449
commit 7f81b51c1f
61 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
# Build the govpp-snmp-agentx binary # Build the govpp-snmp-agentx binary
build: build:
go build -o govpp-snmp-agentx . cd src && go build -o ../govpp-snmp-agentx .
# Run all tests # Run all tests
test: test:
go test ./... cd src && go test ./...
# Clean build artifacts # Clean build artifacts
clean: clean:

2
debian/rules vendored
View File

@ -10,7 +10,7 @@ export GOPATH = $(CURDIR)/debian/go
dh $@ dh $@
override_dh_auto_build: override_dh_auto_build:
go build -v -ldflags="-s -w" -o govpp-snmp-agentx . cd src && go build -v -ldflags="-s -w" -o ../govpp-snmp-agentx .
override_dh_auto_install: override_dh_auto_install:
install -D -m 0755 govpp-snmp-agentx debian/govpp-snmp-agentx/usr/sbin/govpp-snmp-agentx install -D -m 0755 govpp-snmp-agentx debian/govpp-snmp-agentx/usr/sbin/govpp-snmp-agentx

View File

View File