Fix build errors

- Install `musl-tools` which provides the `musl-gcc` binary, needed
   for the package script on ubuntu.
- Fix contributing file name

type: fixed
This commit is contained in:
Casey Rodarmor 2020-03-18 15:28:40 -07:00
parent 4cbeca802a
commit b96c27e9b1
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0

View File

@ -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
@ -33,7 +37,7 @@ cp \
Cargo.lock \
Cargo.toml \
CHANGELOG.md \
CONTRIBUTING.md \
CONTRIBUTING \
LICENSE \
README.md \
$dist