feat(assets): brought changes from main
This commit is contained in:
10
assets/const/format.sh
Executable file
10
assets/const/format.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: $0 <input_file> <output_file>"
|
||||
exit 1
|
||||
fi
|
||||
input_file="$1"
|
||||
output_file="$2"
|
||||
printf 'const char embeddedConstants[] = R"(' > "$output_file"
|
||||
cat "$input_file" >> "$output_file"
|
||||
printf ')";\n' >> "$output_file"
|
||||
Reference in New Issue
Block a user