From f3560e0599c3c9c07d7f04251a4eb57d68a30c45 Mon Sep 17 00:00:00 2001 From: Carlos Vieira Date: Mon, 30 Mar 2020 14:54:09 -0300 Subject: [PATCH] Corrigi build quando diretorio estiver limpo. --- build.sh | 4 ++++ requirements.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 452511c..8521bde 100755 --- a/build.sh +++ b/build.sh @@ -38,6 +38,10 @@ then then echo 'Compilando barra nova' cd ../recipes/default + if test ! -d "../../templates/$profile" + then + ln -s ../../recipes/$profile/build ../../app/templates/$ + fi sh ./compile.sh cd ../../app cp templates/default/barra-brasil.js static/barra-brasil_2.0.js #Copiando enquanto a barra é estática. diff --git a/requirements.txt b/requirements.txt index 5ee5317..bf6f674 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ Flask -Assetgen +Assetgen==0.3.7 Config -- libgit2 0.21.2