move scripts to docs

This commit is contained in:
geekan 2023-07-05 22:07:43 +08:00
parent f87a5bff5d
commit 504de57b29
3 changed files with 1 additions and 1 deletions

1
docs/scripts/coverage.sh Executable file
View file

@ -0,0 +1 @@
coverage run --source ./metagpt -m pytest && coverage report -m && coverage html && open htmlcov/index.html

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
find metagpt | grep "\.py" | grep -Ev "(__init__|pyc)" | xargs grep -E "(^class| def )" 2>/dev/null | grep -v -E "(grep|tests|examples)"