We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 091330c commit fd13355Copy full SHA for fd13355
1 file changed
lib/utils.ml
@@ -96,10 +96,12 @@ let copy_wtfiles source_root target_root =
96
match read_file wtfiles_path with
97
| None -> ()
98
| Some contents ->
99
+ copy_path wtfiles_path (Filename.concat target_root ".wtfiles");
100
+ Printf.eprintf "Copied .wtfiles\n";
101
let lines = String.split_on_char '\n' contents in
102
List.iter (fun line ->
103
let line = String.trim line in
- if line <> "" && (String.length line = 0 || line.[0] <> '#') then
104
+ if line <> "" && line <> ".wtfiles" && line.[0] <> '#' then
105
let src = Filename.concat source_root line in
106
let dst = Filename.concat target_root line in
107
if Sys.file_exists src then begin
0 commit comments