-
Notifications
You must be signed in to change notification settings - Fork 0
/
construir.sh
executable file
·72 lines (60 loc) · 991 Bytes
/
construir.sh
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/bash
projeto=Webis
pacoteDoProjeto=webis
estilos=estilos
finais=finais
propostas=propostas
artigos=artigos
tccs=tccs
dissertacoes=dissertacoes
teses=teses
padroes=padroes
limpar() {
echo ":limpar";
}
criarEstrutura() {
echo ":criarEstrutura";
# mkdir -p ${estilos};
# mkdir -p ${finais};
# mkdir -p ${propostas};
# mkdir -p ${artigos};
# mkdir -p ${tccs};
# mkdir -p ${dissertacoes};
# mkdir -p ${teses};
# mkdir -p ${padroes};
}
adicionarBibliotecas() {
echo ":adicionarBibliotecas";
cp -rf ../estilos/construcao/limpo.css ${estilos};
cp -rf ../estilos/construcao/documento.css ${estilos};
}
compilar() {
limpar;
criarEstrutura;
adicionarBibliotecas;
echo ":compilar";
}
construir() {
compilar;
echo ":construir";
}
testar() {
construir;
echo ":testar";
}
depurar() {
construir;
echo ":depurar";
}
executar() {
construir;
echo ":executar";
chromium-browser relatorio.html;
}
echo :${pacoteDoProjeto}
if [ -n "$1" ]
then
$1;
else
construir;
fi