1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-11 19:08:36 +00:00
Files
UXP/testing/docker/rust-build/build_cargo.sh
T

21 lines
322 B
Bash

#!/bin/bash -vex
set -x -e
: WORKSPACE ${WORKSPACE:=/home/worker}
set -v
# Configure and build cargo.
if test $(uname -s) = "Darwin"; then
export MACOSX_DEPLOYMENT_TARGET=10.7
fi
pushd ${WORKSPACE}/cargo
./configure --prefix=${WORKSPACE}/rustc --local-rust-root=${WORKSPACE}/rustc
make
make dist
make install
popd