26 lines
408 B
Bash
Executable File
26 lines
408 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$ROOT_DIR"
|
|
|
|
OUT="q-edit_dist.zip"
|
|
|
|
rm -f "$OUT"
|
|
|
|
# Create the distribution zip with the required artifacts
|
|
zip -r -9 "$OUT" \
|
|
editor-favicon.png \
|
|
file-up.png \
|
|
index.html \
|
|
Lexend-Regular.ttf \
|
|
red-x.svg \
|
|
script.js \
|
|
style.css \
|
|
docs \
|
|
scripts \
|
|
tests >/dev/null
|
|
|
|
echo "Wrote $OUT"
|
|
|