Dawn reset

This commit is contained in:
2024-06-16 07:48:59 -05:00
parent 7d8c104a93
commit fec8771c75
224 changed files with 318 additions and 10140 deletions

View File

@ -6,7 +6,7 @@
add_custom_target(dawnassets
COMMAND ${DAWN_TOOLS_DIR}/assetstool/assetstool.py
--input=${DAWN_ASSETS_BUILD_DIR}
--output=${DAWN_BUILD_DIR}/assets.tar
--output=${DAWN_BUILD_DIR}/dawn.tar
COMMENT "Bundling assets..."
USES_TERMINAL
DEPENDS ${DAWN_ASSETS}

View File

@ -9,7 +9,9 @@ import tarfile
import argparse
# Args
parser = argparse.ArgumentParser(description='Bundles all assets into the internal archive format.')
parser = argparse.ArgumentParser(
description='Bundles all assets into the internal archive format.'
)
parser.add_argument('-i', '--input');
parser.add_argument('-o', '--output');
args = parser.parse_args()
@ -57,4 +59,4 @@ for foldername, subfolders, filenames in os.walk(args.input):
archive.add(absolute_path, arcname=relative_path)
# Close the archive
archive.close()
archive.close()