Skip to content

Commit

Permalink
add one more cleanup target (#3214)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyWooo authored Dec 20, 2024
1 parent 55624db commit fb55f92
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,14 @@ clippyfix:
.PHONY: cargofix ## cargo fix
cargofix:
cd parachain && cargo fix --locked --allow-dirty --allow-staged --workspace --all

.PHONY: clean-all-build ## clean up all build history
clean-all-build:
@echo "Cleaning parachain..."
@cd parachain && cargo clean

@echo "Clean tee-worker/identity..."
@cd tee-worker/identity && make clean

@echo "Clean tee-worker/omni-worker..."
@cd tee-worker/omni-worker && make distclean
4 changes: 2 additions & 2 deletions parachain/scripts/launch-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [ -f "$PARACHAIN_BIN" ]; then
echo "found one, version:"
./litentry-collator --version
else
echo "not here, copying from docker image if we are on Linux ..."
echo "not here, copying from docker image if we are on Linux ..."
if [ $(uname -s) = "Linux" ]; then
docker cp "$(docker create --rm litentry/litentry-parachain:latest):/usr/local/bin/litentry-collator" .
chmod +x litentry-collator
Expand All @@ -80,7 +80,7 @@ fi
print_divider

echo "launching zombienet network (in background), dir = $ZOMBIENET_DIR ..."
$ZOMBIENET_BIN -d $ZOMBIENET_DIR -l silent spawn config.toml &
nohup $ZOMBIENET_BIN -d $ZOMBIENET_DIR -l silent spawn config.toml > /dev/null 2>&1 &

cd "$ROOTDIR/parachain/ts-tests"

Expand Down

0 comments on commit fb55f92

Please sign in to comment.