dd3c6d1303
After some discussion with PVH I realise that the repo structure in the last reorg was very rust-centric. In an attempt to put each language on a level footing move the rust code and project files into ./rust
25 lines
389 B
Makefile
25 lines
389 B
Makefile
.PHONY: rust
|
|
rust:
|
|
cargo run --release
|
|
|
|
.PHONY: build-wasm
|
|
build-wasm:
|
|
cd ../automerge-wasm && yarn
|
|
cd ../automerge-wasm && yarn release
|
|
|
|
.PHONY: wasm
|
|
wasm: build-wasm
|
|
node automerge-wasm.js
|
|
|
|
.PHONY: build-js
|
|
build-js: build-wasm
|
|
cd ../automerge-js && yarn
|
|
cd ../automerge-js && yarn build
|
|
|
|
.PHONY: js
|
|
js: build-js
|
|
node automerge-js.js
|
|
|
|
.PHONY: baseline
|
|
baseline:
|
|
node baseline.js
|