Skip to content

Commit

Permalink
Add a setup script (#693)
Browse files Browse the repository at this point in the history
* change fludia and mclimate

* Revert to 88c23cc

* mac empty & codec change

* Revert "mac empty & codec change"

This reverts commit aeaf825.

* mac empty & codec change

* fix quotation, index check, vendorprofileid check

* add check for company id

* update vendorProfileID explanation

* QoL changes

* update to bash and add profile selection

* optimize code and add device name check

* update variable

* add script to make & fix index adding
  • Loading branch information
LDannijs authored May 2, 2024
1 parent dd432a8 commit 14190b7
Show file tree
Hide file tree
Showing 3 changed files with 432 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ fmt:
devices.csv:
$(NODE) bin/csv.js

setup:
bin/setup.sh

# vim: ft=make
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ To use the YAML plugin correctly, you need to assign the schema to the plugin. T
}
```

## Setup script

To help you get started with adding vendors and devices to the repo we made a script that creates all the necessary files with some basic information. To run the script, open a terminal (preferably inside a code editor like VSCode) and enter:

```bash
$ make setup
```
After that just follow the instructions given to you by the script.

## Files and Directories

There are six file types in the Device Repository:
Expand Down
Loading

0 comments on commit 14190b7

Please sign in to comment.