diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-07 10:32:51 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-07 10:32:51 +0100 |
commit | 830a57c6b23430c749395811761252d1999f3559 (patch) | |
tree | 0bccfa6bc0ec8a39af0dab20633257df3384a4b3 /Libraries/LibWeb/Scripts | |
parent | 7a6c4a72d5a7da31dbbd5178a469ae37ef68eaea (diff) | |
download | serenity-830a57c6b23430c749395811761252d1999f3559.zip |
LibWeb: Rename directory LibHTML => LibWeb
Let's rename this to LibWeb since it aims to provide more parts of the
web platform than just HTML. :^)
Diffstat (limited to 'Libraries/LibWeb/Scripts')
-rwxr-xr-x | Libraries/LibWeb/Scripts/GenerateStyleSheetSource.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Scripts/GenerateStyleSheetSource.sh b/Libraries/LibWeb/Scripts/GenerateStyleSheetSource.sh new file mode 100755 index 0000000000..c529206f4d --- /dev/null +++ b/Libraries/LibWeb/Scripts/GenerateStyleSheetSource.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +echo "namespace Web {" +echo "extern const char $1[];" +echo "const char $1[] = \"\\" +grep -v '^ *#' < "$2" | while IFS= read -r line; do + echo "$line""\\" +done +echo "\";" +echo "}" |