Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram). AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan. Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
44 lines
809 B
Bash
Executable File
44 lines
809 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Gitgram - Clean All Build Artifacts and Dependencies
|
|
# This script removes node_modules, build artifacts, and cache files
|
|
|
|
set -e
|
|
|
|
# Colors
|
|
GREEN='\033[0;32m'
|
|
BLUE='\033[0;34m'
|
|
YELLOW='\033[1;33m'
|
|
NC='\033[0m'
|
|
|
|
echo -e "${YELLOW}🧹 Cleaning Gitgram project...${NC}"
|
|
echo ""
|
|
|
|
# Clean backend
|
|
echo -e "${BLUE}Cleaning backend...${NC}"
|
|
cd backend
|
|
rm -rf node_modules dist .env.local
|
|
cd ..
|
|
|
|
# Clean mobile
|
|
echo -e "${BLUE}Cleaning mobile...${NC}"
|
|
cd mobile
|
|
rm -rf node_modules .expo .expo-shared
|
|
cd ..
|
|
|
|
# Clean web
|
|
echo -e "${BLUE}Cleaning web...${NC}"
|
|
cd web
|
|
rm -rf node_modules .next .env.local
|
|
cd ..
|
|
|
|
# Clean root
|
|
echo -e "${BLUE}Cleaning root...${NC}"
|
|
rm -rf node_modules
|
|
|
|
echo ""
|
|
echo -e "${GREEN}✅ Clean complete!${NC}"
|
|
echo ""
|
|
echo "Run 'npm run install:all' to reinstall dependencies"
|
|
|