update: auto commit
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
main = report
|
||||
latexmk = latexmk -pdflatex
|
||||
git_add_files = *.tex imgs/ ref.bib
|
||||
latexmk = latexmk -pdf
|
||||
git_add_files = *.tex imgs/ ref.bib Makefile latexmkrc
|
||||
|
||||
.PHONY : main clean cleanall autopush
|
||||
|
||||
main: $(main).tex
|
||||
mkdir -pv tikzcache
|
||||
$(latexmk) $<
|
||||
|
||||
clean:
|
||||
@@ -15,4 +16,4 @@ cleanall:
|
||||
|
||||
autopush: main
|
||||
git add $(git_add_files)
|
||||
git diff --cached --quiet || (git commit -m "update: auto commit" && git push)
|
||||
git diff --cached --quiet || (git commit -m "update: auto commit" && git push)
|
||||
|
||||
Reference in New Issue
Block a user