Skip to content

Commit

Permalink
Remove duplicate packages
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Borovcanin <[email protected]>
  • Loading branch information
dborovcanin committed Jul 12, 2024
1 parent a9b627c commit d9014f6
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 1,601 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,12 @@ mocks:
@unset MOCKERY_VERSION && go generate ./...


DIRS = consumers readers opcua twins lora
test: mocks
go test -v --race -count 1 -tags test -coverprofile=coverage.out ./...
mkdir -p coverage
@for dir in $(DIRS); do \
go test -v --race -count 1 -tags test -coverprofile=coverage/$$dir.out $$(go list ./... | grep $$dir | grep -v 'cmd'); \
done

define test_api_service
$(eval svc=$(subst test_api_,,$(1)))
Expand Down
6 changes: 0 additions & 6 deletions readers/api/doc.go

This file was deleted.

39 changes: 0 additions & 39 deletions readers/api/endpoint.go

This file was deleted.

Loading

0 comments on commit d9014f6

Please sign in to comment.