diff --git a/Makefile b/Makefile index 5beb8aa..e07e397 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +SHELL := bash SUBDIRS := $(wildcard */.) all: $(SUBDIRS) @@ -6,3 +7,7 @@ $(SUBDIRS): .PHONY: all $(SUBDIRS) +clean: + pushd agent && make clean && popd + pushd cli && make clean && popd + diff --git a/agent/go.mod b/agent/go.mod index 2f768c7..d249037 100644 --- a/agent/go.mod +++ b/agent/go.mod @@ -25,3 +25,5 @@ require ( golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect golang.org/x/sys v0.0.0-20220909162455-aba9fc2a8ff2 // indirect ) + +replace github.com/reconmap/shared-lib => ../shared-lib diff --git a/cli/go.mod b/cli/go.mod index 79e48ea..695fc76 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -47,3 +47,5 @@ require ( gopkg.in/square/go-jose.v2 v2.5.1 // indirect gotest.tools/v3 v3.0.3 // indirect ) + +replace github.com/reconmap/shared-lib => ../shared-lib