forked from RvNovae/dhge-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate.bat
More file actions
25 lines (24 loc) · 979 Bytes
/
update.bat
File metadata and controls
25 lines (24 loc) · 979 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
rem Update the build folder
cd .\build
set "GIT_DHGE_LATEX_HOME=https://raw.githubusercontent.com/RvNovae/dhge-latex/main/build"
curl %GIT_DHGE_LATEX_HOME%/template.tex -o template.tex
mkdir components
curl %GIT_DHGE_LATEX_HOME%/components/com.tex -o components/com.tex
curl %GIT_DHGE_LATEX_HOME%/components/deckblatt.tex -o components/deckblatt.tex
curl %GIT_DHGE_LATEX_HOME%/components/ehrenwort.tex -o components/ehrenwort.tex
curl %GIT_DHGE_LATEX_HOME%/components/package.config.tex -o components/package.config.tex
curl %GIT_DHGE_LATEX_HOME%/components/setup.tex -o components/setup.tex
curl %GIT_DHGE_LATEX_HOME%/components/alphabetic-ibid.cbx -o components/alphabetic-ibid.cbx
curl %GIT_DHGE_LATEX_HOME%/components/freigabe.tex -o components/freigabe.tex
curl %GIT_DHGE_LATEX_HOME%/bachelor.tex -o bachelor.tex
rem Delete unneccesary files and folders
rd /q /s tests
cd ..
del -f .gitignore
del -f .travis.yml
rd /q /s .git
cd assets
cd img
del -f .gitkeep
cd ..
cd ..