mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-04-25 11:18:06 +00:00
Update Makefile
Fix make help FileNotFoundError
This commit is contained in:
parent
1735b9b799
commit
e304939bdb
3
Makefile
3
Makefile
@ -42,4 +42,5 @@ validate-yamls: ## Validate all YAML configuration files
|
||||
.PHONY: help
|
||||
help: ## Display this help message
|
||||
@python -c "import re; \
|
||||
[print(f'{m[0]:<20} {m[1]}') for m in re.findall(r'^([a-zA-Z_-]+):.*?## (.*)$$', open('$(MAKEFILE_LIST)').read(), re.M)]" | sort
|
||||
p=r'$(firstword $(MAKEFILE_LIST))'.strip(); \
|
||||
[print(f'{m[0]:<20} {m[1]}') for m in re.findall(r'^([a-zA-Z_-]+):.*?## (.*)$$', open(p, encoding='utf-8').read(), re.M)]" | sort
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user