Test other modules on all platforms

This commit is contained in:
Katrina Verey
2022-04-04 19:39:01 -04:00
parent ea193328e3
commit df80b29694
3 changed files with 12 additions and 45 deletions

View File

@@ -7,16 +7,13 @@ include ../../Makefile-modules.mk
all: test build
statik:
go get github.com/rakyll/statik
test: generate
go test ./...
generate: statik
generate: $(MYGOBIN)/statik
( \
cd internal/krmfunction; \
statik -src=$(FUNC_WRAPPER_SRC_DIR) -f -p $(FUNC_WRAPPER_DST_DIR) -include=main.go,go.mod.src \
$(MYGOBIN)/statik -src=$(FUNC_WRAPPER_SRC_DIR) -f -p $(FUNC_WRAPPER_DST_DIR) -include=main.go,go.mod.src \
)
build: generate