fune/taskcluster/scripts/misc/build-makecab.sh
Mike Hommey 905496641e Bug 1654882 - Add a makecab toolchain. r=froydnj
This adds a makecab toolchain for Linux. It's not hooked anywhere
because bug 1654994 will also move the use of makecab to upload-symbols
tasks, so hooking the toolchain up with builds would be a waste of
time.

Differential Revision: https://phabricator.services.mozilla.com/D84789
2020-07-24 13:03:44 +00:00

17 lines
520 B
Bash
Executable file

#!/bin/bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
set -x -e -v
export PATH="$MOZ_FETCHES_DIR/rustc/bin:$PATH"
cd $MOZ_FETCHES_DIR/rust-makecab
cargo build --verbose --release
mkdir makecab
cp target/release/makecab makecab/
tar -c makecab | $GECKO_PATH/taskcluster/scripts/misc/zstdpy > makecab.tar.zst
mkdir -p $UPLOAD_DIR
cp makecab.tar.zst $UPLOAD_DIR