#!/bin/bash

for f in ../recipes/*.recipe.py; do
    # Skip if no matches
    [ -e "$f" ] || continue

    # Extract the base name (e.g., abseil-cpp)
    name=$(basename "$f" .recipe.py)

    # Target file
    target="${name}.txt"

    # Only create if it doesn't already exist
    if [[ ! -f "$target" ]]; then
        echo "Creating $target"
        touch "$target"
    else
        echo "Skipping $target (already exists)"
    fi
done

