21 lines
362 B
Bash
Executable File
21 lines
362 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
OUT_DIR="${ROOT_DIR}/dist"
|
|
OUT_FILE="${OUT_DIR}/anti-bs-extension.zip"
|
|
|
|
mkdir -p "${OUT_DIR}"
|
|
|
|
(
|
|
cd "${ROOT_DIR}"
|
|
zip -r "${OUT_FILE}" \
|
|
manifest.json \
|
|
content.js \
|
|
popup.html \
|
|
popup.js \
|
|
popup.css \
|
|
icons \
|
|
)
|
|
|
|
echo "Built: ${OUT_FILE}" |