Skip to content

Commit 1e9f01e

Browse files
committed
feat: gestione elenco moduli personalizzati
1 parent 1d47485 commit 1e9f01e

8 files changed

Lines changed: 517 additions & 23 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ mysql_8_3.json
9696
mariadb_10_x.json
9797
settings.json
9898
views.json
99+
modules.json
99100

100101
/tests/_log/*
101102
/tests/_temp/*

docker/Dockerfile.dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ RUN touch /var/www/html/manifest.json \
5353
/var/www/html/checksum.json \
5454
/var/www/html/settings.json \
5555
/var/www/html/views.json
56+
/var/www/html/modules.json
5657

5758
RUN curl -sS https://getcomposer.org/installer | php
5859
RUN git config --global --add safe.directory /var/www/html

gulpfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ export function release(done) {
542542
'!mariadb_10_x.json',
543543
'!settings.json',
544544
'!views.json',
545+
'!modules.json',
545546
'!manifest.json',
546547
'!.idea/**',
547548
'!.git/**',
@@ -625,6 +626,15 @@ export function release(done) {
625626
bufferStream.push(null);
626627
archive.append(bufferStream, { name: 'views.json' });
627628

629+
// Aggiunta del file per il controllo dei moduli
630+
bufferStream = new Readable();
631+
bufferStream.push(shell.exec('php update/modules.php', {
632+
silent: true
633+
}).stdout);
634+
bufferStream.push(null);
635+
archive.append(bufferStream, { name: 'modules.json' });
636+
637+
628638
// Aggiunta del commit corrente nel file REVISION
629639
bufferStream = new Readable();
630640
bufferStream.push(shell.exec('git rev-parse --short HEAD', {

include/init/requirements.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@
345345
'checksum.json' => tr('Necessario per il controllo integrità dei files del gestionale'),
346346
'settings.json' => tr('Necessario per il controllo delle impostazioni del gestionale'),
347347
'views.json' => tr('Necessario per il controllo delle viste del database'),
348+
'modules.json' => tr('Necessario per il controllo dei moduli del database'),
348349
];
349350

350351
$files = [];

0 commit comments

Comments
 (0)