Browse Source

Creation du dossier data

Loquicom 5 years ago
parent
commit
7588b513df
1 changed files with 4 additions and 1 deletions
  1. 4 1
      deploy.js

+ 4 - 1
deploy.js

@@ -14,6 +14,9 @@ deploy.programs.forEach(program => {
     // Création du dossier
     const distPath = OUT + program.name;
     file.makedir(distPath);
+    // Creation dossier data
+    file.makedir(distPath + '/data');
+    file.put(distPath + '/data/.gitkeep', '');
     // Copie des fichiers commun
     file.makedir(distPath + '/src');
     file.fs.readdirSync('./src').forEach(f => {
@@ -71,4 +74,4 @@ function readMe(part) {
         liner.close();
     }
     return data;
-}
+}