chore(Makefile): make run-examples compile the examples in release mode

This commit is contained in:
Florian Dehau 2019-02-03 22:27:36 +01:00
parent 09c09d2fd1
commit 22579b77cc

View file

@ -71,7 +71,7 @@ build-examples: ## Build all examples
run-examples: ## Run all examples
@for file in examples/*.rs; do \
name=$$(basename $${file/.rs/}); \
$(CARGO) run --all-features --example $$name; \
$(CARGO) run --all-features --release --example $$name; \
done;
# ================================ Doc ========================================