File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,8 @@ build-wasi: create-out-dir ## Build the wasi evaluation library in out/bin/
5050 cd wasm && $(TINYGOCMD ) build -o ../out/bin/gofeatureflag-evaluation.wasi -target wasi -opt=2 -opt=s --no-debug -scheduler=none && cd ..
5151
5252build-modules : # # Run build command to build all modules in the workspace
53- @echo " Building all modules in go.work..."
54- $(foreach module, $(ALL_GO_MOD_DIRS ) , \
55- echo " → Building $( module) " ; \
56- cd $(module ) && CGO_ENABLED=0 GO111MODULE=on $(GOWORK_ENV ) $(GOCMD ) build $(MODFLAG ) ./... && cd - > /dev/null; )
53+ @echo " Building all modules in the workspace..."
54+ @$(foreach module, $(ALL_GO_MOD_DIRS ) , (echo "→ Building $(module ) "; CGO_ENABLED=0 GO111MODULE=on $(GOWORK_ENV ) $(GOCMD ) build $(MODFLAG ) ./...) ; )
5755
5856
5957build-doc : # # Build the documentation
@@ -118,7 +116,7 @@ bump-helm-chart-version: ## Bump Helm chart version (usage: make bump-helm-chart
118116
119117# # Test:
120118test : # # Run the tests of the project
121- go list -f ' {{.Dir}}/... ' -m | xargs -I{} $(GOWORK_ENV ) $(GOCMD ) test -v -race -tags=docker {}
119+ @ $( foreach module, $( ALL_GO_MOD_DIRS ) , (echo "→ Testing $( module ) "; cd $(module ) && $( GOWORK_ENV ) $(GOCMD ) test -v -race -tags=docker ./...) ; )
122120
123121provider-tests : # # Run the integration tests for the Open Feature Providers
124122 ./openfeature/provider_tests/integration_tests.sh
You can’t perform that action at this time.
0 commit comments