Uncomment the exec of user-config-json-to-bin.ts now that it works from outside its own directory. Make make-release.js verbose.

This commit is contained in:
László Monda
2017-11-04 17:57:19 +01:00
parent fe74ea1578
commit 0febc9dd69
2 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ const fs = require('fs');
require('shelljs/global');
config.fatal = true;
config.verbose = true;
const package = JSON.parse(fs.readFileSync(`${__dirname}/package.json`));
const version = package.version;
@@ -33,7 +34,7 @@ for (let master of package.masters) {
mkdir('-p', masterDir);
chmod(644, masterSource);
cp(masterSource, `${masterDir}/firmware.hex`);
// exec(`${usbDir}/user-config-json-to-bin.ts ${masterDir}/config.bin`);
exec(`${usbDir}/user-config-json-to-bin.ts ${masterDir}/config.bin`);
}
for (let slave of package.slaves) {