mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 16:26:04 +00:00
12 lines
364 B
Bash
Executable File
12 lines
364 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
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
|