Skip to content

Commit

Permalink
Rename Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
joejcollins committed May 23, 2024
1 parent 13568d2 commit fc99cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile → Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fastapi: # Run the FastAPI server.

.PHONY: help
help: # Show help for each of the makefile recipes.
@grep -E '^[a-zA-Z0-9 -]+:.*#' makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done
@grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done

kill: # Kill the servers on ports 8090 to 8093 if they are still running.
lsof -i tcp:8090-8093 | awk 'NR!=1 {print $$2}' | xargs kill 2>/dev/null || true
Expand Down

0 comments on commit fc99cbe

Please sign in to comment.