Files
NetNewsWire/buildscripts/updateSecrets.sh
T

11 lines
364 B
Bash
Raw Normal View History

2019-11-26 08:58:16 -05:00
#!/bin/bash
2026-03-11 13:35:12 +01:00
set -euo pipefail
2019-11-26 08:58:16 -05:00
2026-03-11 13:35:12 +01:00
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="${PROJECT_DIR:-$(cd "${SCRIPT_DIR}/.." && pwd)}"
find "${PROJECT_ROOT}" -name '*.gyb' -print0 |
while IFS= read -r -d '' file; do
echo "Generating ${file%.gyb}"
"${PROJECT_ROOT}/buildscripts/gyb" --line-directive '' -o "${file%.gyb}" "$file"
done