fix
Some checks failed
Deploy ailog / build-and-deploy (push) Failing after 13m14s

This commit is contained in:
2025-06-11 12:34:24 +09:00
parent f1f179903d
commit f7c9e1085c
66 changed files with 9152 additions and 800 deletions

61
Makefile Normal file
View File

@@ -0,0 +1,61 @@
# ai.log Makefile (Pure Rust + HTML + JS)
.PHONY: help dev build-oauth build-blog build clean serve tunnel
# Default target
help:
@echo "🚀 ai.log Build Commands (Pure Rust + HTML + JS)"
@echo ""
@echo "Development:"
@echo " make dev - Build OAuth files, blog and start dev server"
@echo " make serve - Start dev server only (no build)"
@echo ""
@echo "Production:"
@echo " make tunnel - Build everything and start Cloudflare tunnel"
@echo ""
@echo "Building:"
@echo " make build - Build OAuth files and blog"
@echo " make build-oauth - Copy OAuth files from oauth/ to my-blog/static/"
@echo " make build-blog - Build blog only"
@echo ""
@echo "Maintenance:"
@echo " make clean - Clean build artifacts"
# Copy OAuth files (no Node.js build needed)
build-oauth:
@echo "🔧 Copying OAuth files..."
@./run.zsh oauth
@echo "✅ OAuth files copied"
# Build blog
build-blog:
@echo "📦 Building blog..."
@./run.zsh build
@echo "✅ Blog built"
# Build everything
build: build-oauth build-blog
# Development server
dev: build
@echo "🌐 Starting development server..."
@./run.zsh serve
# Production server only (no build)
serve:
@echo "🌐 Starting server..."
@./run.zsh serve
# Production deployment
tunnel:
@echo "🚀 Starting production deployment..."
@./run.zsh tunnel
# Clean build artifacts
clean:
@echo "🧹 Cleaning build artifacts..."
@./run.zsh clean
@echo "✅ Cleaned"
# Quick development cycle
quick: build serve