numaflow 0.1.1

Rust SDK for Numaflow
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: Makefile for Rust projects

# perform a cargo fmt on all directories containing a Cargo.toml file
.PHONY: lint
# find all directories containing Cargo.toml files
DIRS := $(shell find . -type f -name Cargo.toml -exec dirname {} \; | sort -u)
$(info Included directories: $(DIRS))
lint:
	@for dir in $(DIRS); do \
		echo "Formatting code in $$dir"; \
		cargo fmt --all --manifest-path "$$dir/Cargo.toml"; \
	done

# run cargo test on the repository root
.PHONY: test
test:
	cargo test --workspace