diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-12-08 05:42:24 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-12-08 05:42:24 +0100 |
commit | bfbdf29ca3a60798c5267e88de5577a3faead9e9 (patch) | |
tree | c6acf5ee04749b5957901253aa0271b4279710e2 /gen-initialize.sh | |
parent | 941022bdd6c69de93f38992205b02ed95c6e8eb0 (diff) | |
download | gallery-bfbdf29ca3a60798c5267e88de5577a3faead9e9.tar.gz gallery-bfbdf29ca3a60798c5267e88de5577a3faead9e9.tar.xz gallery-bfbdf29ca3a60798c5267e88de5577a3faead9e9.zip |
More basic stuff
Diffstat (limited to 'gen-initialize.sh')
-rwxr-xr-x | gen-initialize.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gen-initialize.sh b/gen-initialize.sh new file mode 100755 index 0000000..8d8cb55 --- /dev/null +++ b/gen-initialize.sh @@ -0,0 +1,6 @@ +#!/bin/sh -e +gofmt <<EOF +package ${GOPACKAGE:-main} + +const initializeSQL = \`$(sed 's/`/` + "`" + `/g' "$@")\` +EOF |