Skip to content

Commit af495cb

Browse files
committed
makefile: add target clean-itest
This commit adds the command clean-itest. This command deletes itest binaries.
1 parent d3aa5f9 commit af495cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ unit-race:
178178
mkdir -p app/build && touch app/build/index.html
179179
env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(UNIT_RACE) -tags="$(LND_RELEASE_TAGS)"
180180

181+
clean-itest:
182+
@$(call print, "Cleaning itest binaries.")
183+
rm -rf itest/litd-itest itest/btcd-itest itest/lnd-itest
184+
181185
build-itest: app-build
182186
@$(call print, "Building itest binaries.")
183187
CGO_ENABLED=0 $(GOBUILD) -tags="$(ITEST_TAGS)" -o itest/litd-itest -ldflags "$(ITEST_LDFLAGS)" $(PKG)/cmd/litd
@@ -247,7 +251,7 @@ rpc-js-compile:
247251
@$(call print, "Compiling JSON/WASM stubs.")
248252
GOOS=js GOARCH=wasm $(GOBUILD) $(PKG)/litrpc
249253

250-
clean:
254+
clean: clean-itest
251255
@$(call print, "Cleaning source.$(NC)")
252256
$(RM) ./litcli-debug
253257
$(RM) ./litd-debug

0 commit comments

Comments
 (0)