From 43c5b34749d338be15dac11d3039c0266097a28a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 30 Jun 2024 08:23:25 -0700 Subject: [PATCH] Fix package build --- CMakeLists.txt | 3 +-- support/manage.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fbcd6a1..4b50f821 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -505,8 +505,7 @@ if (FMT_MASTER_PROJECT AND EXISTS ${gitignore}) string(REPLACE "*" ".*" line "${line}") set(ignored_files ${ignored_files} "${line}$" "${line}/") endforeach () - set(ignored_files ${ignored_files} - /.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees) + set(ignored_files ${ignored_files} /.git /build) set(CPACK_SOURCE_GENERATOR ZIP) set(CPACK_SOURCE_IGNORE_FILES ${ignored_files}) diff --git a/support/manage.py b/support/manage.py index 8cc8651c..ae5252fc 100755 --- a/support/manage.py +++ b/support/manage.py @@ -176,7 +176,6 @@ def release(args): run = Runner(fmt_repo.dir) run('cmake', '.') run('make', 'doc', 'package_source') - shutil.rmtree('build') # Create a release on GitHub. fmt_repo.push('origin', 'release')