Skip to content

Commit

Permalink
添加一个sh文件
Browse files Browse the repository at this point in the history
  • Loading branch information
YanMing-lxb committed Feb 28, 2024
1 parent 0bc127d commit a36a315
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
Binary file modified Build/main.pdf
Binary file not shown.
43 changes: 43 additions & 0 deletions makefile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
###
# =======================================================================
# ····Y88b···d88P················888b·····d888·d8b·······················
# ·····Y88b·d88P·················8888b···d8888·Y8P·······················
# ······Y88o88P··················88888b·d88888···························
# ·······Y888P··8888b···88888b···888Y88888P888·888·88888b·····d88b·······
# ········888······"88b·888·"88b·888·Y888P·888·888·888·"88b·d88P"88b·····
# ········888···d888888·888··888·888··Y8P··888·888·888··888·888··888·····
# ········888··888··888·888··888·888···"···888·888·888··888·Y88b·888·····
# ········888··"Y888888·888··888·888·······888·888·888··888··"Y88888·····
# ·······························································888·····
# ··························································Y8b·d88P·····
# ···························································"Y88P"······
# =======================================================================
#
# -----------------------------------------------------------------------
# Author : 焱铭
# Date : 2024-02-28 19:48:44 +0800
# LastEditTime : 2024-02-28 20:25:52 +0800
# Github : https://github.com/YanMing-lxb/
# FilePath : /GUET_Thesis_LaTeX/makefile.sh
# Description :
# -----------------------------------------------------------------------
###

#!/bin/bash

# 如果没有输入参数,则直接执行 python3 ./pytexmk.py
if [ $# -eq 0 ]; then
python3 ./pytexmk.py
exit
fi

# 拼接参数为一个字符串
args="$1"
shift
while [ -n "$1" ]; do
args="$args $1"
shift
done

# 运行 makefile
python3 ./pytexmk.py $args

0 comments on commit a36a315

Please sign in to comment.