mirror of
https://github.com/SwareJonge/mkdd.git
synced 2024-11-26 23:00:25 +00:00
17 lines
315 B
Python
17 lines
315 B
Python
"""
|
|
Creates the expected folder for diff.py
|
|
"""
|
|
|
|
from shutil import copytree, rmtree
|
|
|
|
import common as c
|
|
|
|
# Remove it if already existing
|
|
try:
|
|
rmtree(c.EXPECTED)
|
|
except FileNotFoundError:
|
|
pass
|
|
|
|
# Copy in builddir and outdir
|
|
copytree(c.BUILDDIR, f"{c.EXPECTED}/build")
|
|
copytree(c.OUTDIR, f"{c.EXPECTED}/out") |