summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-28 11:45:33 +0100
committerskal <pascal.massimino@gmail.com>2026-01-28 11:45:33 +0100
commit5434802315a2e2899a58f8f39437d078aae1d745 (patch)
treeea88401f7d7eee703b4adb5f9f82014f8751a4b7
parent371017a31bedaed179d339b9fe371529f22d9ec4 (diff)
chore(scripts): Update gen_assets.sh to include test asset generation
Ensures that test assets are also generated when the production pipeline is run.
-rwxr-xr-xscripts/gen_assets.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/gen_assets.sh b/scripts/gen_assets.sh
index e6b7804..d0658a3 100755
--- a/scripts/gen_assets.sh
+++ b/scripts/gen_assets.sh
@@ -3,7 +3,7 @@
# generate some assets
# Ensure tools are built
-cmake --build build --target spectool asset_packer
+cmake --build build
# Analyze drum sounds
./build/spectool analyze ./assets/wav/kick/Glum\ Kick.wav ./assets/final/kick1.spec
@@ -11,4 +11,8 @@ cmake --build build --target spectool asset_packer
./build/spectool analyze ./assets/wav/hh/hammock\ hh.wav ./assets/final/hihat1.spec
# Pack assets into source tree (as requested by Task 9)
-./build/asset_packer ./assets/final/demo_assets.txt ./src/assets.h ./src/assets_data.cc \ No newline at end of file
+# For demo assets:
+./build/asset_packer ./assets/final/demo_assets.txt ./src/assets.h ./src/assets_data.cc
+
+# For test assets:
+./build/asset_packer ./assets/final/test_assets_list.txt ./src/test_assets.h ./src/test_assets_data.cc \ No newline at end of file