瀏覽代碼

Copy the project manifest with the sdist

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
0fcdc75c92
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      src/dds/sdist.cpp

+ 5
- 0
src/dds/sdist.cpp 查看文件

@@ -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…
取消
儲存