mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 06:54:31 -04:00
eaac247074
* decomp: cleaned up CLI for decompiler * decomp: much more flexible and clean decomp override mechanism * decomp: cleanup scripts
16 lines
419 B
Python
16 lines
419 B
Python
# Windows doesn't have the GNU toolchain by default, making it hard to write Taskfiles that are cross-platform
|
|
# This "solves" that
|
|
|
|
# Ensures it only will delete from the current directory
|
|
|
|
import argparse
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument("--path")
|
|
args = parser.parse_args()
|
|
|
|
from os import path
|
|
import shutil
|
|
|
|
if path.exists("./{}".format(args.path)):
|
|
shutil.rmtree("./{}".format(args.path))
|