Skip to content

Commit dcf508a

Browse files
committed
gitignore: ignore output of build-tests-webrtc
1 parent 4b3d27e commit dcf508a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ node_modules
77

88
# Output of build-wasm
99
pkg/
10+
11+
# Outputs of build-tests-webrtc
12+
cargo-build-test.json
13+
tests.tsv

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ build-tests-webrtc: ## Build tests for WebRTC
2424
@cargo build --release --tests \
2525
--package=openmina-node-testing \
2626
--package=cli
27+
# Update ./.gitignore accordingly if cargo-build-test.json is changed
2728
@cargo build --release \
2829
--features=scenario-generators,p2p-webrtc \
2930
--package=openmina-node-testing \
3031
--tests \
3132
--message-format=json \
3233
> cargo-build-test.json
34+
# Update ./.gitignore accordingly if tests.json is changed
3335
@jq -r '. | select(.executable != null and (.target.kind | (contains(["test"])))) | [.target.name, .executable ] | @tsv' cargo-build-test.json > tests.tsv
3436
@while read NAME FILE; do \
3537
cp -a $$FILE target/release/tests/webrtc_$$NAME; \

0 commit comments

Comments
 (0)