Skip to content
Snippets Groups Projects
Commit a74b4211 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Merge pull request #35 from ids1024/target

Pass --target to pkg
parents 04b112dc b2f8cc0f
No related branches found
No related tags found
No related merge requests found
...@@ -214,7 +214,7 @@ function op { ...@@ -214,7 +214,7 @@ function op {
echo "target = \"$TARGET\"" >> "stage.toml" echo "target = \"$TARGET\"" >> "stage.toml"
mkdir -p stage/pkg mkdir -p stage/pkg
cp -v stage.toml "stage/pkg/$1.toml" 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) untar)
rm -rfv stage.tar.gz stage.sig stage.toml rm -rfv stage.tar.gz stage.sig stage.toml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment