Commit 50ed20f6 authored by David Baker's avatar David Baker
Browse files

Merge remote-tracking branch 'origin/master' into dbkr/pk_private_export_import

parents fac1d52d b2d91f55
version: 2
- image: trzeci/emscripten
working_directory: ~/repo
- checkout
- run:
name: Native Compile
command: make
- run:
name: Native Tests
command: make test
- run:
name: JS Compile
command: make js
- run:
name: Install JS Deps
working_directory: ~/repo/javascript
command: npm install
- run:
name: JS Tests
working_directory: ~/repo/javascript
command: npm run test
......@@ -219,7 +219,7 @@ fuzzers: $(FUZZER_BINARIES) $(FUZZER_DEBUG_BINARIES)
.PHONY: fuzzers
perl -MJSON -ne '$$f{"_$$1"}=1 if /(olm_[^( ]*)\(/; END { @f=sort keys %f; print encode_json \@f }' $^ > $@.tmp
./ $^ > $@.tmp
mv $@.tmp $@
all: test js lib debug doc
#!/usr/bin/env python
import sys
import re
import json
expr = re.compile(r"(olm_[^( ]*)\(")
exports = set()
for f in sys.argv[1:]:
with open(f) as fp:
for line in fp:
matches =
if matches is not None:
exports.add('_%s' % (,))
json.dump(sorted(exports), sys.stdout)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment