Travis+make: compile JSON/WASM stubs

pull/411/head
Oliver Gugger 3 years ago
parent ca9ec4cfe7
commit 360e3347be
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -23,7 +23,7 @@ sudo: required
script: script:
- export GO111MODULE=on - export GO111MODULE=on
- make lint unit build mod-check - make lint unit build mod-check rpc-js-compile
- make tags=dev - make tags=dev
after_script: after_script:

@ -80,3 +80,7 @@ rpc:
rpc-check: rpc rpc-check: rpc
@$(call print, "Verifying protos.") @$(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 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

Loading…
Cancel
Save