diff --git a/.gitignore b/.gitignore index e969e1f..6a55bbf 100644 --- a/.gitignore +++ b/.gitignore @@ -184,5 +184,4 @@ pyrightconfig.json /src/github_actions_tracing/_version.py /tmp -/vendor/generated/* -!/vendor/generated/.gitkeep \ No newline at end of file +/vendor/generated/* \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 34e734a..e16dcd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,5 +40,4 @@ pre_build = "./scripts/generate-perfetto-trace-proto.sh" [tool.pdm.build] # Docs: https://backend.pdm-project.org/build_config/#include-or-exclude-files -includes = ["src", "vendor"] -excludes = ["**/.gitkeep"] \ No newline at end of file +includes = ["src", "vendor"] \ No newline at end of file diff --git a/scripts/generate-perfetto-trace-proto.sh b/scripts/generate-perfetto-trace-proto.sh index 52968b7..99d73bf 100755 --- a/scripts/generate-perfetto-trace-proto.sh +++ b/scripts/generate-perfetto-trace-proto.sh @@ -3,6 +3,7 @@ set -o errexit -o nounset -o pipefail mkdir -p tmp +mkdir -p vendor/generated check_proto() { echo "cf1ec0ad32d6772a2bf852e17195e1616062c2afa2320a2eb3f8af7f7956d7e3 tmp/perfetto_trace.proto" | sha256sum --check $@ diff --git a/vendor/generated/.gitkeep b/vendor/generated/.gitkeep deleted file mode 100644 index e69de29..0000000