This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const PO = require('pofile'); | |
| const xlsx = require('node-xlsx'); | |
| const fs = require('fs'); | |
| const xlsxFile = xlsx.parse(`${__dirname}/languages2.xlsx`); | |
| const websiteList = xlsxFile[0]; | |
| let notTranslated = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| deployment: | |
| tasks: | |
| - export WPC=/home/coelix/public_html/wp-content/ | |
| - /bin/rm -rf $WPC | |
| - /bin/mkdir $WPC | |
| - /bin/cp -r * $WPC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| dirName = '/home/dir/project' | |
| imageFormats = ['.png', '.jpeg', '.gif', '.svg', '.jpg'] | |
| imagesIgnore = ['node_modules', 'build'] | |
| sourceIncludes = ['.js', '.php', '.html'] | |
| sourceIgnore = ['node_modules', 'build'] | |