diff --git a/Makefile b/Makefile index c37805042e..bdee2d8e2d 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file diff --git a/parachain/scripts/launch-network.sh b/parachain/scripts/launch-network.sh index a75e6502df..44a3718547 100755 --- a/parachain/scripts/launch-network.sh +++ b/parachain/scripts/launch-network.sh @@ -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 @@ -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"