gras 0.1.2

A Genetic Programming framework for Neural Architecture Search in Rust
Documentation
################################################################################
# ๐Ÿ“Š Development & Analysis
################################################################################
dev-size:
	clear && du ./target/debug/libharu_cmaes.rlib -h

prod-size:
	clear && du ./target/release/libharu_cmaes.rlib -h

tree:
	cargo tree

graph-dep:
	cargo depgraph --dedup-transitive-deps | dot -Tpng > dependencies_graph_of_current_cargo_toml.png

deps: tree graph-dep
	@echo "โœ“ Dependency analysis complete"

################################################################################
# ๐Ÿงน Quality & Testing (CI)
################################################################################
clean:
	cargo cache --autoclean && cargo clean

lint:
	cargo fmt && cargo clippy -- -D warnings

test:
	cargo test

cove:
	cargo tarpaulin --out Html

################################################################################
# ๐Ÿ”จ Build & Documentation
################################################################################
prep:
	cargo build --all-targets 
	# Compiles lib + bins + examples + benches + tests

docu:
	cargo doc

exam:
	cargo run --release --bin express_use

all: clean lint test prep exam docu

build:
	clear && make all

################################################################################
# โšก Performance & Profiling
################################################################################
benc:
	clear && cargo bench --bench mine

prof:
	clear && cargo run --release --example flamegraph

samp:
	# To grant temporary access before using samply
	# echo '1' | sudo tee /proc/sys/kernel/perf_event_paranoid
	clear && samply record cargo run --release --bin ask_tell

dry_publ:
	cargo release
	
publ:
	cargo release --execute