b54a3139c7
Includes QWB, Qortal Web, and Q-Shops Q-Apps with shared packages and build scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
555 B
Bash
18 lines
555 B
Bash
#!/usr/bin/env bash
|
|
# Optional: entire project (source) in one zip for backup. NOT the Qortal WEBSITE bundle — use make-zip.sh for that.
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
cd "$ROOT"
|
|
DATE="$(date +%Y%m%d)"
|
|
OUT="My-Personal-Website-builder-source-${DATE}.zip"
|
|
rm -f "$OUT"
|
|
find . -type f \
|
|
-not -path '*/node_modules/*' \
|
|
-not -path '*/.git/*' \
|
|
-not -path './dist/*' \
|
|
-not -path './extracted/*' \
|
|
-not -name '*.zip' \
|
|
-print | zip -@ -9 "$OUT"
|
|
echo "Source archive (builder project, not site deploy):"
|
|
ls -la "$OUT"
|