diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-12-08 02:16:04 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-12-29 15:02:28 +0100 |
commit | 054078908a1e4c7429ea0f5a3a0605addfccc46c (patch) | |
tree | 7a6dd29cd4381bd655fa78f5866f25c552d05072 /gen-initialize.sh | |
download | gallery-054078908a1e4c7429ea0f5a3a0605addfccc46c.tar.gz gallery-054078908a1e4c7429ea0f5a3a0605addfccc46c.tar.xz gallery-054078908a1e4c7429ea0f5a3a0605addfccc46c.zip |
Initial commit
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 |