浏览代码

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());
}
}

正在加载...
取消
保存