#!/bin/bash
OUTPUT_ZIP="../task-manager-plugin.zip"

echo "📦 Bundling Task Manager plugin..."
zip -r "$OUTPUT_ZIP" . -x "zip-plugin.sh" "*.log" ".DS_Store"

if [ $? -eq 0 ]; then
  echo "✅ Successfully packaged plugin to $OUTPUT_ZIP"
else
  echo "❌ Failed to package plugin"
  exit 1
fi
