new implementation

This commit is contained in:
ge
2026-05-05 23:02:06 +03:00
parent 171ec8fe4b
commit 95ceb5aeac
9 changed files with 179 additions and 217 deletions
+21
View File
@@ -0,0 +1,21 @@
module ${module_name}
@if !skip_notice
/*
${notice}
*/
@endif
@if const_public
pub const ${const_name} = {
@else
const ${const_name} = {
@endif
@for key, value in files
@if compression
'${key}': $embed_file('${value}', .zlib)
@else
'${key}': $embed_file('${value}')
@endif
@endfor
}