.PHONY: test clean build
generate:
cargo test
bash -c "$${MAKE_RECURSIVE}"
run:
bash -c "$${MAKE_RECURSIVE}"
deploy: generate
bash -c "$${MAKE_RECURSIVE}"
test:
cargo test -- --nocapture
bash -c "$${MAKE_RECURSIVE}"
test-shapenode:
cargo test render
sed -i '/^#\[tokio::main\]/,$$d' "examples/openapi_lambda360.rs"
cat "examples/TestShapeNodeMain.txt" >> "examples/openapi_lambda360.rs"
cargo run --example openapi_lambda360
clean:
rm -rf out/
cargo clean
bash -c "$${MAKE_RECURSIVE}"
MAKE_RECURSIVE_DIRS := frontend frontend/wasm
define MAKE_RECURSIVE
time printf '%s\n' $(MAKE_RECURSIVE_DIRS) | xargs -IX sh -c '$(MAKE) -C X $@'
endef
export