Skip to content

Commit

Permalink
I hate permissions (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekap committed Aug 16, 2020
1 parent 3eedd4b commit c97b11c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release/build_release.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env bash
set -exo pipefail

(rm -rf target/pkg || true) && mkdir -p target/pkg/opt/wink-mqtt-rs/

docker build -t wink_builder release
docker run --rm -v `pwd`:/work wink_builder /bin/bash -c "cd /work; cargo build --release --target armv5te-unknown-linux-musleabi"

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

0 comments on commit c97b11c

Please sign in to comment.