mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CICD: Add Check for Changes in the Supported Dive Computer Lists.
Add a check that will fail whenever there is a change in the list of supported dive computers in libdivecomputer that is not reflected in the `SupportedDivecomputers.*` lists. Also add a script for a simplified update of these lists. From a discussion with @dirkhh in https://github.com/subsurface/libdc/pull/71#issuecomment-2565384338. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
939154705b
commit
9baf36da45
2 changed files with 56 additions and 0 deletions
16
scripts/update-supported-divecomputer-lists.sh
Executable file
16
scripts/update-supported-divecomputer-lists.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Update the Lists of Supported Dive Computers Based
|
||||
# on the Information in the libdivecomputer Source Code
|
||||
#
|
||||
|
||||
CONTAINER_NAME=subsurface-android-builder
|
||||
|
||||
pushd . &> /dev/null
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
perl scripts/parse-descriptor.pl SupportedDivecomputers.html
|
||||
perl scripts/parse-descriptor.pl SupportedDivecomputers.txt
|
||||
|
||||
popd &> /dev/null
|
Loading…
Add table
Add a link
Reference in a new issue