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:
Submodule lib/agent updated: 2ae7abe440...a5c478d51c
@@ -3,6 +3,7 @@ const fs = require('fs');
|
|||||||
require('shelljs/global');
|
require('shelljs/global');
|
||||||
|
|
||||||
config.fatal = true;
|
config.fatal = true;
|
||||||
|
config.verbose = true;
|
||||||
|
|
||||||
const package = JSON.parse(fs.readFileSync(`${__dirname}/package.json`));
|
const package = JSON.parse(fs.readFileSync(`${__dirname}/package.json`));
|
||||||
const version = package.version;
|
const version = package.version;
|
||||||
@@ -33,7 +34,7 @@ for (let master of package.masters) {
|
|||||||
mkdir('-p', masterDir);
|
mkdir('-p', masterDir);
|
||||||
chmod(644, masterSource);
|
chmod(644, masterSource);
|
||||||
cp(masterSource, `${masterDir}/firmware.hex`);
|
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) {
|
for (let slave of package.slaves) {
|
||||||
|
|||||||
Reference in New Issue
Block a user