Commit Graph

20 Commits

Author SHA1 Message Date
László Monda
0febc9dd69 Uncomment the exec of user-config-json-to-bin.ts now that it works from outside its own directory. Make make-release.js verbose. 2017-11-04 17:57:19 +01:00
László Monda
a7e70d0cb2 Link to the latest Agent revision. Add commented out call to user-config-json-to-bin.ts which apparently doesn't work from outer directories yet. 2017-11-03 00:57:37 +01:00
László Monda
024f24f489 Make make-release.js group master and slave firmwares into separate directories. 2017-11-01 02:09:22 +01:00
László Monda
6043651341 Rename release-firmware.js to make-release.js because it doesn't actually releases the release to GitHub. It merely creates it. 2017-11-01 00:35:33 +01:00
László Monda
f7d775c6da Remove output files before the build process. Create the release directory in the directory of the script instead of /tmp 2017-11-01 00:33:35 +01:00
László Monda
561d183840 Make release-firmware.js work when invoked from any directory. 2017-11-01 00:11:33 +01:00
László Monda
df48f5e1be Set config.fatal to true. 2017-11-01 00:00:29 +01:00
László Monda
b94310f57a Utilize string interpolation wherever possible. 2017-10-31 23:58:37 +01:00
László Monda
dc82b51008 Read the current firmware version from package.json 2017-10-31 23:55:56 +01:00
László Monda
3aff28726f Port release-firmware to ShellJS. 2017-10-31 23:45:22 +01:00
László Monda
16e173140a Move package.json and release-firmware to scripts 2017-10-31 23:36:15 +01:00
László Monda
1d7790f74e Generate .hex files instead of .srec for the right half firmware. 2017-10-29 22:27:47 +01:00
László Monda
e8ab25493e Make the firmware upgrade scripts working directory independent. 2017-10-29 19:09:32 +01:00
László Monda
72b279841c Port the blhost-unix.sh firmware update script of the right keyboard half to ShellJS resulting in update-master-firmware.js 2017-10-29 18:20:13 +01:00
László Monda
4e2d867424 Extract the USB product ID for getBlhostCmd() 2017-10-29 18:17:48 +01:00
László Monda
a5402e7c6a Extract checkFirmwareImage() 2017-10-29 17:47:24 +01:00
László Monda
f847cc844e Extract getBlhostCmd() to shared.js 2017-10-29 17:35:55 +01:00
László Monda
976e402445 Make update-slave-firmware.js extremely resilient (not a single failure out of 100 updates). Add shared.js 2017-10-29 17:17:12 +01:00
László Monda
c7b6acd838 Use the let keyword for defining variables. 2017-10-24 17:32:27 +02:00
László Monda
9db5c5e067 Port blhost-unix.sh as update-slave-firmware.js using ShellJS. 2017-10-24 13:59:36 +02:00