-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 658 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Wetware Engineering - Makefile
# Common Commands Collection
.PHONY: help lint paper clean backup
help:
@echo "Available commands:"
@echo " make lint - Check Markdown formatting"
@echo " make paper - Compile LaTeX paper"
@echo " make clean - Clean build artifacts"
@echo " make backup - Execute project backup"
# Markdown format check
lint:
npx markdownlint-cli2 "**/*.md"
# Compile LaTeX paper
paper:
cd paper/arxiv && xelatex -interaction=nonstopmode wetware_engineering.tex
# Clean LaTeX build artifacts
clean:
cd paper/arxiv && rm -f *.aux *.log *.out *.toc *.bbl *.blg
# Project backup
backup:
python backups/快速备份.py