mirror of
https://github.com/zap-proto/erlang.git
synced 2026-10-30 15:05:14 +00:00
Mechanical, byte-balanced rename across the full tree (1648 ins / 1648 del): - ecapnp -> ezap, capnpc-erl -> zapc-erl, *_capnp.erl -> *_zap.erl - .capnp schemas -> .zap (schema, rpc, c++, test, addressbook, calculator) - "Cap'n Proto" prose -> "Zap" in docs and module @doc comments - 58 renamed/modified source, header, schema, sample and test files Brand-neutrality (canonical zap-proto): - README + overview.edoc project URLs -> zap-proto.io / github.com/zap-proto/erlang - doc links -> zap-proto.dev (encoding, otherlang, sdks/erlang) - generator banner (ezap_compiler) + all 6 generated modules -> https://github.com/zap-proto/erlang - Makefile dep_zap_test -> https://github.com/zap-proto/zap_test.git Build hygiene: - modernize git:// -> https:// for dep_eunit_formatters (git:// is dead on GitHub) Upstream license/author attribution headers (Andreas Stenius) preserved. Tests unchanged: proper_SUITE / ezap_props property tests + eunit suite.
14 lines
320 B
Bash
Executable File
14 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -exuo pipefail
|
|
|
|
erlc +debug_info addressbook_zap.erl calculator_zap.erl \
|
|
calculator-client.erl calculator-server.erl
|
|
|
|
./addressbook.sh write | ./addressbook.sh read
|
|
|
|
erl -eval "'calculator-server':run()" -noinput -noshell &
|
|
sleep 0.1
|
|
erl -eval "'calculator-client':run()" -noinput -noshell
|
|
kill %+
|