File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,13 @@ 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+
181185build-itest : app-build
182- @$(call print, "Building itest btcd and litd.")
186+ @$(call print, "Building itest binaries.")
187+ CGO_ENABLED=0 $(GOBUILD ) -tags=" $( ITEST_TAGS) " -o itest/litd-itest -ldflags " $( ITEST_LDFLAGS) " $(PKG ) /cmd/litd
183188 CGO_ENABLED=0 $(GOBUILD ) -tags=" $( ITEST_TAGS) " -o itest/btcd-itest -ldflags " $( ITEST_LDFLAGS) " $(BTCD_PKG )
184189 CGO_ENABLED=0 $(GOBUILD ) -tags=" $( ITEST_TAGS) " -o itest/lnd-itest -ldflags " $( ITEST_LDFLAGS) " $(LND_PKG ) /cmd/lnd
185190
@@ -246,7 +251,7 @@ rpc-js-compile:
246251 @$(call print, "Compiling JSON/WASM stubs.")
247252 GOOS=js GOARCH=wasm $(GOBUILD ) $(PKG ) /litrpc
248253
249- clean :
254+ clean : clean-itest
250255 @$(call print, "Cleaning source.$(NC ) ")
251256 $(RM ) ./litcli-debug
252257 $(RM ) ./litd-debug
You can’t perform that action at this time.
0 commit comments