diff options
author | June McEnroe <june@causal.agency> | 2020-07-13 18:14:22 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-13 18:14:22 -0400 |
commit | c1dfd0bb139f58a9f34dbfc61920b59df00c70c1 (patch) | |
tree | 47163cbba95f5e850179a0a8b78e9a00f2ea9c7c /css.sh | |
parent | Add room to start selecting table rows (diff) | |
download | scooper-c1dfd0bb139f58a9f34dbfc61920b59df00c70c1.tar.gz scooper-c1dfd0bb139f58a9f34dbfc61920b59df00c70c1.zip |
Incorporate CSS into C without file2c
It's a shame file2c is not available everywhere.
Diffstat (limited to '')
-rw-r--r-- | css.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/css.sh b/css.sh new file mode 100644 index 0000000..80f28d1 --- /dev/null +++ b/css.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -eu + +cat <<EOF +#define CSS(...) #__VA_ARGS__ +static const char CSS[] = CSS( +EOF +cat "$@" +echo ');' |