Commit 992f9bf
committed
Fix(doctest): Ensure tmp/doctests/src directory exists and clean tmp/doctests before run
The doctest rake task was failing because the 'tmp/doctests/src' directory was not explicitly
created before attempting to write files into it, leading to 'No such file or directory' errors.
This commit addresses the issue by:
1. Adding to ensure the subdirectory is created.
2. Adding at the beginning of the task to clean the
directory before each run, ensuring a consistent and clean testing environment.1 parent e8a763c commit 992f9bf
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
0 commit comments