removing usage of pushd/popd for alpine docker builds
This commit is contained in:
parent
55efbfd85c
commit
aae59e7d68
@ -8,18 +8,18 @@ mkdir -p bin/
|
||||
# Statically built binaries make this part really easy
|
||||
for target in $cargo_targets;do
|
||||
echo ================================================
|
||||
echo = =
|
||||
echo = =
|
||||
echo = =
|
||||
echo Building $target
|
||||
echo = =
|
||||
echo = =
|
||||
echo = =
|
||||
echo =
|
||||
echo =
|
||||
echo =
|
||||
echo = Building $target
|
||||
echo =
|
||||
echo =
|
||||
echo =
|
||||
echo ================================================
|
||||
pushd $target
|
||||
cd $target
|
||||
cargo build --release
|
||||
cp target/release/$target ../bin/
|
||||
popd
|
||||
cd ../
|
||||
done
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user