Travis+make: compile JSON/WASM stubs

This commit is contained in:
Oliver Gugger 2021-08-03 13:19:44 +02:00
parent ca9ec4cfe7
commit 360e3347be
No known key found for this signature in database
GPG key ID: 8E4256593F177720
2 changed files with 5 additions and 1 deletions

View file

@ -80,3 +80,7 @@ rpc:
rpc-check: rpc
@$(call print, "Verifying protos.")
if test -n "$$(git describe --dirty | grep dirty)"; then echo "Protos not properly formatted or not compiled with correct version!"; git status; git diff; exit 1; fi
rpc-js-compile:
@$(call print, "Compiling JSON/WASM stubs.")
GOOS=js GOARCH=wasm $(GOBUILD) $(PKG)/looprpc