Skip to content

Commit

Permalink
Makefile: Calling the script check-sample-lnd-conf.sh
Browse files Browse the repository at this point in the history
The existing sample-conf-check is replaced by a call of the
check-sample-lnd-conf.sh.
  • Loading branch information
feelancer21 committed Aug 3, 2023
1 parent aa6bc08 commit cbd8f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ rpc-js-compile:
GOOS=js GOARCH=wasm $(GOBUILD) -tags="$(WASM_RELEASE_TAGS)" $(PKG)/lnrpc/...

sample-conf-check:
@$(call print, "Making sure every flag has an example in the sample-lnd.conf file")
for flag in $$(GO_FLAGS_COMPLETION=1 go run -tags="$(RELEASE_TAGS)" $(PKG)/cmd/lnd -- | grep -v help | cut -c3-); do if ! grep -q $$flag sample-lnd.conf; then echo "Command line flag --$$flag not added to sample-lnd.conf"; exit 1; fi; done
@$(call print, "Checking that default values in the sample-lnd.conf file are set correctly")
scripts/check-sample-lnd-conf.sh "$(RELEASE_TAGS)"

mobile-rpc:
@$(call print, "Creating mobile RPC from protos.")
Expand Down

0 comments on commit cbd8f0a

Please sign in to comment.