17 lines
437 B
Bash
Executable File
17 lines
437 B
Bash
Executable File
#!/bin/bash
|
|
# Build hyprcrd-relay distribution ZIP
|
|
# Output: a ZIP you can extract into any PHP webspace
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
DIST="hyprcrd-relay.zip"
|
|
rm -f "$DIST"
|
|
|
|
zip -r "$DIST" index.php .htaccess fonts/ inc/ ui/ README.md
|
|
|
|
echo "Done: ${DIST} ($(du -h "$DIST" | cut -f1))"
|
|
echo ""
|
|
echo "Deploy: extract into your webspace document root."
|
|
echo "The data/ directory and SQLite DB are created automatically on first request."
|