Ignore "target" in creating source_package (#3799)

Cargo creates this directory if run directly, but it shouldn't be in the
release tarball.
This commit is contained in:
Dustin J. Mitchell 2025-03-03 11:43:20 -05:00 committed by GitHub
parent a3e0dada30
commit 3bb71390a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,6 +162,6 @@ endforeach (doc_FILE)
set (CPACK_SOURCE_GENERATOR "TGZ")
set (CPACK_SOURCE_PACKAGE_FILE_NAME ${PACKAGE_NAME}-${PACKAGE_VERSION})
set (CPACK_SOURCE_IGNORE_FILES "build" "test" "misc/*" "performance" "swp$" "src/lex$" "task-.*.tar.gz"
set (CPACK_SOURCE_IGNORE_FILES "build" "target" "test" "misc/*" "performance" "swp$" "src/lex$" "task-.*.tar.gz"
"commit.h" "cmake.h$" "\\\\.gitmodules" "src/libshared/\\\\.git" ".github/" ".*\\\\.gitignore$" "docker-compose.yml" "\\\\.git/")
include (CPack)