mirror of
https://github.com/SwareJonge/mkdd.git
synced 2024-11-23 05:19:45 +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") |