Add linter to automatically validate changes (#108)

This commit is contained in:
David Beitey
2022-04-10 18:02:48 +10:00
committed by GitHub
parent 47d0495141
commit f51ed04454
2 changed files with 38 additions and 3 deletions

View File

@@ -1,14 +1,19 @@
# zigbee-OTA
[![Lint Code Base status badge](https://github.com/Koenkk/zigbee-OTA/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/Koenkk/zigbee-OTA/actions/workflows/linter.yml)
A collection of Zigbee OTA files, see `index.json` for an overview of all available firmware files.
## Adding new and updating existing OTA files
1. Go to this directory
2. Execute `node scripts/add.js PATH_TO_OTA_FILE_OR_URL`, e.g.:
- `node scripts/add.js ~/Downloads/WhiteLamp-Atmel-Target_0105_5.130.1.30000_0012.sbl-ota`
- `node scripts/add.js http://fds.dc1.philips.com/firmware/ZGB_100B_010D/1107323831/Sensor-ATmega_6.1.1.27575_0012.sbl-ota`
3. Create a PR
3. Create a PR. Changes will be automatically validated by GitHub.
## Updating all existing OTA entries (if `add.js` has been changed)
## Updating all existing OTA entries (if add.js has been changed)
1. Go to this directory
2. Execute `node scripts/updateall.js`
3. Create a PR
3. Create a PR. Changes will be automatically validated by GitHub.