mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibHTML: Add an empty CSS parser.
This commit is contained in:
10
LibHTML/Scripts/GenerateStyleSheetSource.sh
Executable file
10
LibHTML/Scripts/GenerateStyleSheetSource.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "extern const char $1[];"
|
||||
echo "const char $1[] = \"\\"
|
||||
IFS=$'\n'
|
||||
for line in $(cat $2); do
|
||||
echo $line"\\"
|
||||
done
|
||||
echo "\";"
|
||||
|
||||
Reference in New Issue
Block a user