mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 07:44:18 +08:00
Merge pull request #10 from ids1024/cargo
Do not copy .cargo and libc-artifacts
This commit is contained in:
commit
6c05cf95a8
4
cook.sh
4
cook.sh
@ -135,7 +135,7 @@ function op {
|
||||
fi
|
||||
if [ "$skip" -eq "0" ]
|
||||
then
|
||||
cp -r "$ROOT/Xargo.toml" "$ROOT/.cargo" "$ROOT/libc-artifacts" .
|
||||
cp -r "$ROOT/Xargo.toml" .
|
||||
xargo build --target "$TARGET" --release $CARGOFLAGS
|
||||
fi
|
||||
popd > /dev/null
|
||||
@ -149,7 +149,7 @@ function op {
|
||||
fi
|
||||
if [ "$skip" -eq "0" ]
|
||||
then
|
||||
cp -r "$ROOT/Xargo.toml" "$ROOT/.cargo" "$ROOT/libc-artifacts" .
|
||||
cp -r "$ROOT/Xargo.toml" .
|
||||
xargo test --no-run --target "$TARGET" --release $CARGOFLAGS
|
||||
fi
|
||||
popd > /dev/null
|
||||
|
||||
Loading…
Reference in New Issue
Block a user