Merge pull request #10 from ids1024/cargo

Do not copy .cargo and libc-artifacts
This commit is contained in:
Jeremy Soller 2017-05-10 22:23:24 -06:00 committed by GitHub
commit 6c05cf95a8

View File

@ -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