-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRUN_COMMAND.sh
More file actions
executable file
·39 lines (30 loc) · 967 Bytes
/
Copy pathRUN_COMMAND.sh
File metadata and controls
executable file
·39 lines (30 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
# FAF Chrome Extension - Production Build with Claude Code CLI
# Run this command to build the production-quality TypeScript version
echo "🏎️ Starting FAF Chrome Extension Production Build..."
# Navigate to the production directory
cd "$(dirname "$0")"
# Verify assets are present
if [ ! -d "icons" ]; then
echo "❌ Icons directory missing!"
exit 1
fi
if [ ! -f "reference/scoring-logic.js" ]; then
echo "❌ Reference logic missing!"
exit 1
fi
echo "✅ Assets verified"
# The Claude Code CLI command
echo "🚀 Running Claude Code CLI..."
claude_code \
--include "icons/social-logo-*.png" \
--include "reference/scoring-logic.js" \
--include "reference/current-types.ts" \
--prompt "$(cat CLAUDE_CODE_PROMPT.md)"
echo "🏁 FAF Extension build complete!"
echo ""
echo "Next steps:"
echo "1. cd into the generated project"
echo "2. npm install"
echo "3. npm run build"
echo "4. Load the extension in Chrome"