Skip to content

Commit

Permalink
Change MODULES find to BSD friendly command
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco committed Aug 21, 2020
1 parent 45d7469 commit 209354b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VER?=0.0.1
MODULES=$(shell find . -mindepth 2 -maxdepth 2 -type f -name 'go.mod' -printf '%h\n' | cut -c 3- | sort -u)
MODULES=$(shell find . -mindepth 2 -maxdepth 2 -type f -name 'go.mod' | cut -c 3- | sed 's|/[^/]*$$||' | sort -u)
targets = $(addprefix test-, $(MODULES))

all: $(targets)
Expand Down

0 comments on commit 209354b

Please sign in to comment.