This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git

commit 7b0c74352e7624779e6ddbcba0c5a288b86e1a55
Author: kezhenxu94 <kezhenx...@163.com>
AuthorDate: Sun May 3 12:05:14 2020 +0800

    Ignore __pycache__ in git and remove them in clean target
---
 .gitignore | 3 ++-
 Makefile   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 1cfc0a1..67c2b88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@
 *.iml
 .DS_Store
 *~
-**/*_pb2*
\ No newline at end of file
+**/*_pb2*
+__pycache__
diff --git a/Makefile b/Makefile
index c260632..7e49767 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ setup:
 gen:
        python3 -m grpc_tools.protoc -I protocol --python_out=. 
--grpc_python_out=. protocol/**/*.proto
 
-license:
+license: clean
        python3 tools/check-license-header.py skywalking tests tools
 
 test:
@@ -37,3 +37,4 @@ clean:
        rm -rf management
        rm -rf profile
        rm -rf service_mesh_probe
+       find . -type d -name  "__pycache__" -exec rm -r {} +
\ No newline at end of file

Reply via email to