Files
ruflo/scripts/build-prompt-copier.sh
T
rUv 0d30392ca5 feat: Add validation script for Claude optimized template installation
- Implemented a validation script to check the installation of Claude optimized templates.
- The script verifies the presence of required files, directory structure, and file content.
- Added tests for command structure, version consistency, and installation timestamp.

docs: Create comprehensive init command analysis report

- Added an analysis report detailing the structure and functionality of the `claude-flow init` command.
- Included sections on command flow, file structure, key functions, and SPARC integration.
- Provided recommendations for optimization and next steps for further development.

chore: Introduce init command file map for better organization

- Created a JSON file mapping the structure and key components of the init command.
- Included details on file locations, generated files, and key functions for easier reference.

test: Develop extensive test suite for init command functionality

- Established a comprehensive test suite covering unit, integration, and performance tests for the init command.
- Included tests for batch initialization features, error handling, and environment configurations.
- Ensured high test coverage and validation of all command functionalities.

test: Add batch initialization tests for various scenarios

- Implemented tests for batch initialization, including validation of options, project templates, and environment configurations.
- Covered error handling and multi-environment initialization scenarios.
2025-06-16 22:13:04 +00:00

30 lines
707 B
Bash
Executable File

#!/bin/bash
# Build script for prompt copier CLI
set -e
echo "Building prompt copier CLI..."
# Ensure bin directory exists
mkdir -p bin
# Check if Deno is available
if ! command -v deno &> /dev/null; then
echo "Error: Deno is required but not installed"
echo "Please install Deno: https://deno.land/manual/getting_started/installation"
exit 1
fi
# Compile the prompt CLI
echo "Compiling prompt-copier..."
PATH="/home/codespace/.deno/bin:$PATH" deno compile \
--allow-all \
--no-check \
--output=bin/prompt-copier \
src/swarm/prompt-cli.ts
# Make executable
chmod +x bin/prompt-copier
echo "✅ prompt-copier CLI built successfully"
echo "Usage: ./bin/prompt-copier --help"