mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 22:11:41 +01:00
build: add new WASM specific release/build tags
We need to drop things like postgres+etcd, as they don't understand the WASM/JS build target.
This commit is contained in:
parent
f7dd70b5cb
commit
1bff146c43
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -306,7 +306,7 @@ rpc-check: rpc
|
|||
|
||||
rpc-js-compile:
|
||||
@$(call print, "Compiling JSON/WASM stubs.")
|
||||
GOOS=js GOARCH=wasm $(GOBUILD) -tags="$(RELEASE_TAGS)" $(PKG)/lnrpc/...
|
||||
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")
|
||||
|
|
|
@ -39,6 +39,8 @@ windows-arm
|
|||
|
||||
RELEASE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc monitoring kvdb_postgres kvdb_etcd
|
||||
|
||||
WASM_RELEASE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc monitoring
|
||||
|
||||
# One can either specify a git tag as the version suffix or one is generated
|
||||
# from the current date.
|
||||
ifneq ($(tag),)
|
||||
|
|
Loading…
Add table
Reference in a new issue