Browse Source

Travis+make: compile JSON/WASM stubs

pull/411/head
Oliver Gugger 2 months ago
parent
commit
360e3347be
No known key found for this signature in database GPG Key ID: 8E4256593F177720
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      .travis.yml
  2. +4
    -0
      Makefile

+ 1
- 1
.travis.yml View File

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

+ 4
- 0
Makefile 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

Loading…
Cancel
Save