Skip to content

Commit 924a147

Browse files
committed
py: Force generation of protobufs for python
To ensure that we can generate the protobuf definitions for python, delete them first.
1 parent 243c5a7 commit 924a147

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.ci/ci

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ set -e
66
# Deny warnings in rust. CI will fail to compile any code with warnings in it.
77
export RUSTFLAGS="-Dwarnings"
88

9-
# Check style
10-
9+
# Check style for C
1110
./.ci/check-style
11+
12+
# Check that we can generate protobuf definitions for python
13+
make -C py clean
1214
make -C py
15+
16+
# Check style for python
1317
./.ci/check-pep8
1418

1519
# check ./releases sigs

py/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ all:
22
${MAKE} -C bitbox02
33

44
clean:
5+
${MAKE} -C bitbox02 clean
56
find -name *.pyc -delete
67
find -name __pycache__ -empty -delete

0 commit comments

Comments
 (0)