Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
- Install `musl-tools` which provides the `musl-gcc` binary, needed
   for the package script on ubuntu.
- Fix contributing file name

type: fixed
  • Loading branch information
casey committed Apr 8, 2020
1 parent 4cbeca8 commit b96c27e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/package
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ test -f Cargo.lock || cargo generate-lockfile

echo "Building $bin..."

if [ "$os" = "ubuntu-latest" ]; then
sudo apt-get install musl-tools
fi

case $os in
ubuntu-latest | macos-latest)
cargo rustc --bin $bin --target $target --release -- -C lto
Expand All @@ -33,7 +37,7 @@ cp \
Cargo.lock \
Cargo.toml \
CHANGELOG.md \
CONTRIBUTING.md \
CONTRIBUTING \
LICENSE \
README.md \
$dist
Expand Down

0 comments on commit b96c27e

Please sign in to comment.