mirror of
https://github.com/huhu/rust-search-extension
synced 2024-11-14 15:47:12 +00:00
11 lines
No EOL
519 B
Makefile
11 lines
No EOL
519 B
Makefile
extension/script/macro-railroad-wasm.js: macro-railroad/pkg/macro-railroad.js
|
|
cp $< $@
|
|
|
|
extension/wasm/macro-railroad.wasm: macro-railroad/pkg/macro-railroad.wasm
|
|
cp $< $@
|
|
|
|
macro-railroad/pkg:
|
|
mkdir $@
|
|
|
|
macro-railroad/pkg/macro-railroad.wasm: macro-railroad/Cargo.lock macro-railroad/Cargo.toml macro-railroad/build.rs macro-railroad/src/lib.rs | macro-railroad/pkg
|
|
cd macro-railroad && wasm-pack build -t no-modules --no-typescript --out-name macro-railroad && cp pkg/macro-railroad_bg.wasm pkg/macro-railroad.wasm
|