mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
feat: redesign my webiste from scratch
- remove hugo and paper box theme - inspiration https://jay.fish - use astro based system Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
.PHONY: dev build preview clean install check fmt lint new-post help
|
||||
|
||||
# Default target
|
||||
help: ## Show this help
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
|
||||
awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
install: ## Install dependencies
|
||||
npm install
|
||||
|
||||
dev: ## Start dev server with hot reload
|
||||
npx astro dev
|
||||
|
||||
build: ## Build for production
|
||||
npx astro build
|
||||
|
||||
preview: ## Preview production build locally
|
||||
npx astro preview
|
||||
|
||||
check: ## Run Astro type checking
|
||||
npx astro check
|
||||
|
||||
clean: ## Remove build artifacts
|
||||
rm -rf dist .astro node_modules/.astro
|
||||
|
||||
nuke: ## Full clean (includes node_modules)
|
||||
rm -rf dist .astro node_modules
|
||||
|
||||
fresh: nuke install ## Clean install from scratch
|
||||
Reference in New Issue
Block a user