From 1bff146c43b386f787046ba78f32209bf73ff607 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 15 Nov 2021 17:13:38 -0800 Subject: [PATCH] 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. --- Makefile | 2 +- make/release_flags.mk | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5374e7721..9f9aae7ba 100644 --- a/Makefile +++ b/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") diff --git a/make/release_flags.mk b/make/release_flags.mk index ae23ac72e..2c1db19a3 100644 --- a/make/release_flags.mk +++ b/make/release_flags.mk @@ -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),)