fix(ci): patch Cargo.toml to exclude missing workspace members
This commit is contained in:
parent
222b9a8e6c
commit
9aec2675d6
1 changed files with 5 additions and 0 deletions
|
|
@ -29,6 +29,11 @@ jobs:
|
||||||
git clone --depth 1 https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
git clone --depth 1 https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace
|
||||||
cd workspace
|
cd workspace
|
||||||
git submodule update --init --depth 1 botlib
|
git submodule update --init --depth 1 botlib
|
||||||
|
# Remove missing members from workspace to prevent Cargo errors
|
||||||
|
sed -i '/"botapp",/d' Cargo.toml
|
||||||
|
sed -i '/"botdevice",/d' Cargo.toml
|
||||||
|
sed -i '/"bottest",/d' Cargo.toml
|
||||||
|
sed -i '/"botui",/d' Cargo.toml
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf workspace/botserver
|
rm -rf workspace/botserver
|
||||||
mv botserver workspace/botserver
|
mv botserver workspace/botserver
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue