fix ade7758
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
TAMANHO_MAX = 31000 # Limite por arquivo
|
||||
TAMANHO_MAX = 100000 # Limite por arquivo
|
||||
|
||||
def coletar_arquivos(diretorios, extensoes=(".c", ".h")):
|
||||
arquivos = []
|
||||
@@ -15,7 +15,7 @@ def coletar_arquivos(diretorios, extensoes=(".c", ".h")):
|
||||
|
||||
def unir_em_partes(arquivos, prefixo="projeto_parte", limite=TAMANHO_MAX):
|
||||
parte = 1
|
||||
conteudo_atual = ""
|
||||
conteudo_atual = "."
|
||||
total_arquivos = 0
|
||||
|
||||
for arquivo in arquivos:
|
||||
@@ -53,8 +53,7 @@ def unir_em_partes(arquivos, prefixo="projeto_parte", limite=TAMANHO_MAX):
|
||||
def main():
|
||||
diretorio_main = "main"
|
||||
componentes_escolhidos = [
|
||||
"evse", "loadbalancer", "auth", "manager_meter",
|
||||
"rest_api", "network", "peripherals"
|
||||
"peripherals" , "meter_manager"
|
||||
]
|
||||
|
||||
diretorios_componentes = [os.path.join("components", nome) for nome in componentes_escolhidos]
|
||||
|
||||
Reference in New Issue
Block a user