Browse Source

Copy the project manifest with the sdist

default_compile_flags
vector-of-bool 5 years ago
parent
commit
0fcdc75c92
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/dds/sdist.cpp

+ 5
- 0
src/dds/sdist.cpp View File

@@ -64,4 +64,9 @@ void dds::create_sdist_in_dir(path_ref out, const sdist_params& params) {
if (project.main_library()) {
sdist_copy_library(out, *project.main_library(), params);
}

auto man_path = project.root() / "manifest.dds";
if (fs::is_regular_file(man_path)) {
fs::copy(man_path, out / man_path.filename());
}
}

Loading…
Cancel
Save