mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 04:39:03 +02:00
- 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 --HG-- extra : rebase_source : 4457c074396e5c733158d304c2aebe0f811a9d7e
13 lines
232 B
Bash
13 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
|