Skip to content

Commit 71f9fc0

Browse files
committed
fix: fix makefile tools install deps
Signed-off-by: yuluo-yx <[email protected]>
1 parent 31eb9d4 commit 71f9fc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/make/tools.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tools/buf = $(tools.bindir)/buf
1212
tools/skywalking-eyes = $(tools.bindir)/skywalking-eyes
1313

1414
$(tools.bindir)/%: $(tools.srcdir)/%/pin.go $(tools.srcdir)/%/go.mod
15+
mkdir -p $(@D)
1516
cd $(<D) && GOOS= GOARCH= go build -o $(abspath $@) $$(sed -En 's,^import _ "(.*)".*,\1,p' pin.go)
1617

1718
# `pip install`-able things
@@ -35,6 +36,7 @@ tools/markdownlint = $(tools.bindir)/markdownlint
3536
tools/linkinator = $(tools.bindir)/linkinator
3637

3738
$(tools.bindir)/%: $(tools.srcdir)/%/package.json
39+
mkdir -p $(@D)
3840
cd $(<D) && npm install
3941
ln -sf $(<D)/node_modules/.bin/$* $@
4042

0 commit comments

Comments
 (0)