Formatting
This commit is contained in:
5
Makefile
5
Makefile
@@ -12,7 +12,7 @@ help: ## This info
|
||||
@cat Makefile | grep -E '^[a-zA-Z\/_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
@echo
|
||||
|
||||
format: format-api format-ui ## Format code
|
||||
format: format-api format-ui format-adsb ## Format code
|
||||
|
||||
psql: ## Connect to the PSQL DB
|
||||
@docker exec -it aviation-postgres psql -U ${POSTGRES_USER} -P pager=off
|
||||
@@ -34,6 +34,9 @@ run-api: ## Run the API project
|
||||
# ADS-B Commands #
|
||||
##################
|
||||
|
||||
format-adsb: ## Format code
|
||||
@cd adsb && cargo fmt
|
||||
|
||||
build-adsb: ## Build the ADS-B project
|
||||
@cd adsb && cargo build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user