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:
178
178
mkdir -p app/build && touch app/build/index.html
179
179
env CGO_ENABLED=1 GORACE=" history_size=7 halt_on_errors=1" $(UNIT_RACE ) -tags=" $( LND_RELEASE_TAGS) "
180
180
181
+ clean-itest :
182
+ @$(call print, "Cleaning itest binaries.")
183
+ rm -rf itest/litd-itest itest/btcd-itest itest/lnd-itest
184
+
181
185
build-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
183
188
CGO_ENABLED=0 $(GOBUILD ) -tags=" $( ITEST_TAGS) " -o itest/btcd-itest -ldflags " $( ITEST_LDFLAGS) " $(BTCD_PKG )
184
189
CGO_ENABLED=0 $(GOBUILD ) -tags=" $( ITEST_TAGS) " -o itest/lnd-itest -ldflags " $( ITEST_LDFLAGS) " $(LND_PKG ) /cmd/lnd
185
190
@@ -246,7 +251,7 @@ rpc-js-compile:
246
251
@$(call print, "Compiling JSON/WASM stubs.")
247
252
GOOS=js GOARCH=wasm $(GOBUILD ) $(PKG ) /litrpc
248
253
249
- clean :
254
+ clean : clean-itest
250
255
@$(call print, "Cleaning source.$(NC ) ")
251
256
$(RM ) ./litcli-debug
252
257
$(RM ) ./litd-debug
You can’t perform that action at this time.
0 commit comments