Skip to content

Commit 7eb78ec

Browse files
committed
--locked for all items in build.sh
1 parent 0ba063b commit 7eb78ec

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

build.sh

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ OUTPUT_NAME=${1:-./output}
66

77
# Build and test the solutions
88
pushd exercise-solutions
9-
cargo test
10-
cargo test --examples
9+
cargo test --locked
10+
cargo test --examples --locked
1111
cargo fmt --check
1212
pushd connected-mailbox
13-
cargo test
13+
cargo test --locked
1414
cargo fmt --check
1515
popd
1616
pushd multi-threaded-mailbox
17-
cargo test
17+
cargo test --locked
1818
cargo fmt --check
1919
popd
2020
popd
@@ -26,50 +26,50 @@ popd
2626
popd
2727
pushd nrf52-code
2828
pushd boards/dk
29-
cargo build --target=thumbv7em-none-eabihf
29+
cargo build --target=thumbv7em-none-eabihf --locked
3030
cargo fmt --check
3131
popd
3232
pushd boards/dk-solution
33-
cargo build --target=thumbv7em-none-eabihf
33+
cargo build --target=thumbv7em-none-eabihf --locked
3434
cargo fmt --check
3535
popd
3636
pushd boards/dongle
37-
cargo build --target=thumbv7em-none-eabihf
37+
cargo build --target=thumbv7em-none-eabihf --locked
3838
cargo fmt --check
3939
popd
4040
pushd radio-app
41-
cargo build --target=thumbv7em-none-eabihf --release
41+
cargo build --target=thumbv7em-none-eabihf --release --locked
4242
cargo fmt --check
4343
popd
4444
for i in usb-lib-solutions/*; do
4545
pushd $i
46-
cargo build --target=thumbv7em-none-eabihf --release
46+
cargo build --target=thumbv7em-none-eabihf --release --locked
4747
cargo fmt --check
48-
cargo test
48+
cargo test --locked
4949
popd
5050
done
5151
pushd usb-lib
52-
cargo build --target=thumbv7em-none-eabihf --release
52+
cargo build --target=thumbv7em-none-eabihf --release --locked
5353
cargo fmt --check
5454
popd
5555
pushd usb-app
56-
cargo build --target=thumbv7em-none-eabihf --release
56+
cargo build --target=thumbv7em-none-eabihf --release --locked
5757
cargo fmt --check
5858
popd
5959
pushd usb-app-solutions
60-
cargo build --target=thumbv7em-none-eabihf --release
60+
cargo build --target=thumbv7em-none-eabihf --release --locked
6161
cargo fmt --check
6262
popd
6363
pushd consts
64-
cargo build
64+
cargo build --locked
6565
cargo fmt --check
6666
popd
6767
pushd puzzle-fw
68-
cargo build --target=thumbv7em-none-eabihf --release
68+
cargo build --target=thumbv7em-none-eabihf --release --locked
6969
cargo fmt --check
7070
popd
7171
pushd loopback-fw
72-
cargo build --target=thumbv7em-none-eabihf --release
72+
cargo build --target=thumbv7em-none-eabihf --release --locked
7373
cargo fmt --check
7474
popd
7575
popd

0 commit comments

Comments
 (0)