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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user