Skip to content

Commit

Permalink
Remove auto-generated vendor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z committed Oct 7, 2024
1 parent 9cb556e commit 2c858e2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,4 @@ pyrightconfig.json
/src/github_actions_tracing/_version.py

/tmp
/vendor/generated/*
!/vendor/generated/.gitkeep
/vendor/generated/*
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
includes = ["src", "vendor"]
1 change: 1 addition & 0 deletions scripts/generate-perfetto-trace-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@
Expand Down
Empty file removed vendor/generated/.gitkeep
Empty file.

0 comments on commit 2c858e2

Please sign in to comment.