|
@@ -25,7 +25,7 @@ all: gen deps fmt test
|
|
gen:
|
|
gen:
|
|
-@echo "-> $@"
|
|
-@echo "-> $@"
|
|
-@echo "=== Generate strategies"
|
|
-@echo "=== Generate strategies"
|
|
- $(foreach file, $(wildcard ./strategy/*.go), CGO_ENABLED=1 go build -ldflags=$(LDFLAGS) -buildmode=plugin -gcflags=$(GCFLAGS) -o $(file).so $(file);)
|
|
|
|
|
|
+ $(foreach file, $(filter-out $(wildcard ./strategy/*_test.go), $(wildcard ./strategy/*.go)), CGO_ENABLED=1 go build -ldflags=$(LDFLAGS) -buildmode=plugin -gcflags=$(GCFLAGS) -o $(file).so $(file);)
|
|
|
|
|
|
.PHONY: deps
|
|
.PHONY: deps
|
|
deps:
|
|
deps:
|