mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-23 00:07:29 +08:00
94c6b66e46
Since Go 1.16, go build command fails if go.mod or go.sum is incomplete.
9 lines
179 B
Makefile
9 lines
179 B
Makefile
examples := $(shell find * -maxdepth 0 -type d)
|
|
examples := $(filter-out internal,$(examples))
|
|
|
|
.PHONY: all $(examples)
|
|
all: $(examples)
|
|
|
|
$(examples):
|
|
cd $@ && go build -mod=mod
|