File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 11/target
22/todo
33/.idea
4+ /* .tar
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- TARGET=x86_64-apple-darwin
43CURRENT_DIR=$( dirname " $0 " )
54cd " $CURRENT_DIR " /..
65
7- docker volume create rust-registry
8- docker run -v $( pwd) :/source -w /source -v rust-registry:/usr/local/cargo/registry rust sh -c " rustup target add ${TARGET} && cargo build --release --bin rtd --target ${TARGET} "
6+ cargo build --release --target x86_64-apple-darwin
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -eu
4+
5+ CURRENT_DIR=$( dirname " $0 " )
6+ cd " $CURRENT_DIR " /..
7+
8+ auto/build-macos
9+ auto/build-linux
10+
11+ tar -cvf rtd-macos.tar -C target/x86_64-apple-darwin/release rtd
12+ tar -cvf rtd-linux.tar -C target/x86_64-unknown-linux-gnu/release rtd
You can’t perform that action at this time.
0 commit comments