Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 45 lines (42 sloc) 0.818 kB
f46eab2 @mutsuda first commit
authored
1 #!/usr/bin/env bash
2
3 if [ "$#" -gt 0 ]
4 then
5 if [ "$1" = "clean" ]
6 then
02346b3 @mutsuda Changes in template and compiler script
authored
7 tput setaf 4
8 echo "#"
9 echo "# Started cleaning directory."
10 echo "#"
11 tput setaf 1
f46eab2 @mutsuda first commit
authored
12 echo "rm -f *.log"
13 rm -f *.log
14 echo "rm -f *.toc"
15 rm -f *.toc
16 echo "rm -f *.out"
17 rm -f *.out
18 echo "rm -f *.aux"
19 rm -f *.aux
73e399b @mutsuda Added some dependencies in the Gantt
authored
20 echo "rm -f *.pdf"
02346b3 @mutsuda Changes in template and compiler script
authored
21 rm -f *.pdf
73e399b @mutsuda Added some dependencies in the Gantt
authored
22 echo "rm -f *.lof"
23 rm -f *.lof
02346b3 @mutsuda Changes in template and compiler script
authored
24 tput setaf 4
25 echo "#"
26 echo "# Ended cleaning directory."
27 echo "#"
28 tput sgr0
f46eab2 @mutsuda first commit
authored
29 fi
30 else
2b6604e @mutsuda Created abstract and explained supervised learning
authored
31 tput setaf 4
32 echo "#"
33 echo "# Started generating document."
34 echo "#"
35 tput setaf 1
e040190 @mutsuda Minor changes
authored
36 pdflatex -interaction=nonstopmode main.tex | grep ! &
37 wait
2b6604e @mutsuda Created abstract and explained supervised learning
authored
38 tput setaf 4
39 echo "#"
02346b3 @mutsuda Changes in template and compiler script
authored
40 echo "# Ended generating document."
2b6604e @mutsuda Created abstract and explained supervised learning
authored
41 echo "#"
42 tput sgr0
f46eab2 @mutsuda first commit
authored
43 fi
44
Something went wrong with that request. Please try again.