mirror of
https://github.com/SeekyCt/spm-decomp.git
synced 2024-11-23 21:39:52 +00:00
19 lines
317 B
Python
19 lines
317 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")
|
|
|