From b96c27e9b123f8182355e9f0451857d594871ce6 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Wed, 18 Mar 2020 15:28:40 -0700 Subject: [PATCH] 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 --- bin/package | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/package b/bin/package index 146b71a..63f7890 100755 --- a/bin/package +++ b/bin/package @@ -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