udokai 0.0.1

The launcher for unix-like systems - udokai
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: help
help: ## Lists the available commands. Add a comment with '##' to describe a command.
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST)\
		| sort\
		| awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'


.PHONY: run
run: ## Build all services and run the application
	cargo build -p client
	cargo build -p server
	cargo run

.PHONY: publish
publish: ## Publish all the crates to crates.io
	cargo publish --manifest-path shared/Cargo.toml || true
	cargo publish --manifest-path tui/Cargo.toml || true
	cargo publish