Merge pull request #35 from ids1024/target

Pass --target to pkg
This commit is contained in:
Jeremy Soller 2017-06-29 18:14:46 -06:00 committed by GitHub
commit a74b421189

View File

@ -214,7 +214,7 @@ function op {
echo "target = \"$TARGET\"" >> "stage.toml"
mkdir -p stage/pkg
cp -v stage.toml "stage/pkg/$1.toml"
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- --target=$TARGET create stage
;;
untar)
rm -rfv stage.tar.gz stage.sig stage.toml