Skip to content

Commit

Permalink
Problem: Dist doesn't get the built version of cargo
Browse files Browse the repository at this point in the history
Solution: Include it in the target folder before zipping
  • Loading branch information
thombles committed Feb 12, 2020
1 parent 6c48bfc commit 5633a92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TOOLCHAIN_DEST="${DEST}/toolchain-${RUST_TOOLCHAIN}"
rm -rf "$TOOLCHAIN_DEST"
mkdir -p "$TOOLCHAIN_DEST"
cp -r "$WORKING_DIR/rust-build/build/x86_64-apple-darwin/stage2"/* "$TOOLCHAIN_DEST"
cp -r "$WORKING_DIR/rust-build/build/x86_64-apple-darwin/stage2-tools/x86_64-apple-darwin/release/cargo" "$TOOLCHAIN_DEST/bin"

cp LICENSE* README.md "$DEST"

Expand Down

0 comments on commit 5633a92

Please sign in to comment.