2
0

initial commit

This commit is contained in:
2025-09-13 18:00:05 +02:00
commit dcacc9b409
2 changed files with 92 additions and 0 deletions

49
Makefile Normal file
View File

@@ -0,0 +1,49 @@
# Makefile for Marp Slides Project
.PHONY: help build dev watch pdf html clean install
# Default target
help:
@echo "Available commands:"
@echo " make build - Build slides from Markdown"
@echo " make dev - Start development server with live reload"
@echo " make watch - Watch for changes and rebuild automatically"
@echo " make pdf - Export slides to PDF format"
@echo " make html - Export slides to HTML format"
@echo " make clean - Remove generated files"
@echo " make install - Install dependencies"
# Build slides
build:
@echo "Building slides..."
npm run build
# Start development server
dev:
@echo "Starting development server..."
npm run dev
# Watch for changes
watch:
@echo "Watching for changes..."
npm run watch
# Export to PDF
pdf:
@echo "Exporting to PDF..."
npm run export:pdf
# Export to HTML
html:
@echo "Exporting to HTML..."
npm run export:html
# Clean generated files
clean:
@echo "Cleaning generated files..."
rm -rf dist/ build/ *.pdf *.html
# Install dependencies
install:
@echo "Installing dependencies..."
npm install