Skip to content

Commit 7f76b37

Browse files
committed
Minor build/release fixups
1 parent b84789b commit 7f76b37

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/builder-osx.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG CROSSOSX_COMMIT=364703ca0962c4a12688daf8758802a5df9e3221
44
ARG OSX_SDK_VERSION=10.11
55
ARG OSX_SDK_SHASUM=694a66095a3514328e970b14978dc78c0f4d170e590fa7b2c3d3674b75f0b713
66

7-
RUN apt-get install -y git wget clang cmake libxml2-dev zlib1g-dev && \
7+
RUN apt-get update && apt-get install -y git wget clang cmake libxml2-dev zlib1g-dev && \
88
rustup target add x86_64-apple-darwin
99

1010
RUN git clone https://github.com/tpoechtrager/osxcross /usr/src/osxcross && \

scripts/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ cargo fmt -- --check
3636
if [ -z "$SKIP_BUILD" ]; then
3737
echo Building releases...
3838

39+
mkdir -p dist
3940
rm -rf dist/*
4041

4142
if [ -z "$BUILD_HOST" ]; then
@@ -48,7 +49,7 @@ if [ -z "$SKIP_BUILD" ]; then
4849
fi
4950
else
5051
# macOS builds are disabled by default when building on the host.
51-
# to enable, set TARGETS=linux,win,osx
52+
# to enable, set TARGETS=x86_64-osx,...
5253
./scripts/build.sh
5354
fi
5455

0 commit comments

Comments
 (0)