Skip to content

Commit 00fce61

Browse files
committed
fix(example2): skip build example2 in windows
skip build example2 in windows Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
1 parent eadbd7b commit 00fce61

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

example2/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
export PROTOC=${HOME}/protoc/bin/protoc
2-
31
#
42
# Build
53
#
64

75
.PHONY: build
86
build:
7+
ifeq ($(OS),Windows_NT)
8+
@echo "Skipping build on Windows"
9+
else
910
cargo build
11+
endif
1012

1113
.PHONY: build-examples
1214
build-examples: build

0 commit comments

Comments
 (0)