Files
zeekay fae0efeb1b chore: normalize naming to LX across codebase
Apply consistent naming conventions throughout:
- Standardize product name to "LX" in documentation
- Update README files and API documentation
- Apply linter fixes to all source files
- Update Hummingbot connector documentation
2025-12-11 21:04:37 -08:00

64 lines
1.4 KiB
Bash
Executable File

#!/bin/bash
# LX - Final Verification Script
# Ensures everything builds, tests pass, and benchmarks work
set -e
echo "========================================="
echo " LX Complete Verification"
echo "========================================="
echo ""
# Colors
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m'
cd "$(dirname "$0")/.."
# 1. Clean
echo "๐Ÿงน Cleaning..."
make clean > /dev/null 2>&1
echo -e "${GREEN}โœ… Clean complete${NC}"
# 2. Build
echo "๐Ÿ”จ Building..."
if make build > /dev/null 2>&1; then
echo -e "${GREEN}โœ… Build successful${NC}"
else
echo -e "${RED}โŒ Build failed${NC}"
exit 1
fi
# 3. Test core packages
echo "๐Ÿงช Testing..."
cd backend
if go test ./pkg/orderbook/... ./pkg/lx/... > /dev/null 2>&1; then
echo -e "${GREEN}โœ… Tests passed${NC}"
else
echo -e "${RED}โŒ Tests failed${NC}"
exit 1
fi
cd ..
# 4. Benchmark
echo "โšก Running benchmark..."
if timeout 30s make bench > /dev/null 2>&1; then
echo -e "${GREEN}โœ… Benchmarks complete${NC}"
else
echo -e "${RED}โŒ Benchmark failed or timed out${NC}"
exit 1
fi
echo ""
echo "========================================="
echo -e "${GREEN} โœ… ALL SYSTEMS OPERATIONAL${NC}"
echo "========================================="
echo ""
echo "Summary:"
echo " โ€ข Build: โœ… Working"
echo " โ€ข Tests: โœ… Passing"
echo " โ€ข Bench: โœ… Running"
echo ""
echo "The codebase is fully functional!"