Files
tubestation/testing/docker/rust-build/package_rust.sh
Ralph Giles 735a790643 Bug 1289605 - Update gecko-rust-build to v0.3.0. r=dustin
- Separate build, package, and upload steps into separate scripts.
- Rewrite repack in python to use rust's internal install scripts.
- Add support for cargo as well as the rust compiler and std library.

MozReview-Commit-ID: EI9M8ayEptA
2016-07-26 14:49:09 -07:00

14 lines
232 B
Bash

#!/bin/bash -vex
set -x -e
: WORKSPACE ${WORKSPACE:=/home/worker}
set -v
# Package the toolchain for upload.
pushd ${WORKSPACE}
tar cvJf rustc.tar.xz rustc/*
/build/tooltool.py add --visibility=public --unpack rustc.tar.xz
popd