Skip to content

Commit c97b11c

Browse files
authored
I hate permissions (#7)
1 parent 3eedd4b commit c97b11c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

release/build_release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/usr/bin/env bash
22
set -exo pipefail
33

4+
(rm -rf target/pkg || true) && mkdir -p target/pkg/opt/wink-mqtt-rs/
5+
46
docker build -t wink_builder release
57
docker run --rm -v `pwd`:/work wink_builder /bin/bash -c "cd /work; cargo build --release --target armv5te-unknown-linux-musleabi"
68

7-
(rm -rf target/pkg || true) && mkdir -p target/pkg/opt/wink-mqtt-rs/
89
cp release/* target/pkg/opt/wink-mqtt-rs/
910
rm target/pkg/opt/wink-mqtt-rs/build_release.sh
1011
cp target/armv5te-unknown-linux-musleabi/release/wink-mqtt-rs target/pkg/opt/wink-mqtt-rs/

0 commit comments

Comments
 (0)