Skip to content

Commit

Permalink
Remove old .swiftdoc file before creating new .swiftdoc file
Browse files Browse the repository at this point in the history
  • Loading branch information
hughbe committed Mar 25, 2017
1 parent 23c0fea commit 1d1d070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/modules/SwiftSource.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,8 @@ function(_compile_swift_files
module_dependency_target
COMMAND
"${CMAKE_COMMAND}" "-E" "remove" "-f" "${module_file}"
COMMAND
"${CMAKE_COMMAND}" "-E" "remove" "-f" "${module_doc_file}"
COMMAND
"${PYTHON_EXECUTABLE}" "${line_directive_tool}" "@${file_path}" --
"${swift_compiler_tool}" "-emit-module" "-o" "${module_file}" ${swift_flags}
Expand Down

0 comments on commit 1d1d070

Please sign in to comment.