Skip to content

Commit

Permalink
more future proof generate.sh file
Browse files Browse the repository at this point in the history
  • Loading branch information
9551-Dev committed Jun 28, 2024
1 parent 805fa85 commit ab6a21e
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions generate.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
#!/bin/bash

# radioburzy
python3 ./gallery_generator.py ./assets/common_config.ini config/events/radioburza/leden_2024.ini
python3 ./gallery_generator.py ./assets/common_config.ini config/events/radioburza/brezen_2024.ini
python3 ./gallery_generator.py ./assets/common_config.ini config/events/radioburza/kveten_2024.ini
COMMON_CONFIG="./assets/common_config.ini"

# laboratoř EE
python3 ./gallery_generator.py ./assets/common_config.ini config/lab/storage_2024_03_07.ini
declare -a GALLERY_CONFIGS=(
"config/events/radioburza/leden_2024.ini"
"config/events/radioburza/brezen_2024.ini"
"config/events/radioburza/kveten_2024.ini"

# elektronky
python3 ./gallery_generator.py ./assets/common_config.ini config/tubes/gu81m.ini
python3 ./gallery_generator.py ./assets/common_config.ini config/tubes/general.ini
"config/lab/storage_2024_03_07.ini"

# projects
python3 ./gallery_generator.py ./assets/common_config.ini config/projects/sstc_v1.ini
python3 ./gallery_generator.py ./assets/common_config.ini config/projects/hfvttc_v1.ini
"config/tubes/gu81m.ini"
"config/tubes/general.ini"

# misc
python3 ./gallery_generator.py ./assets/common_config.ini config/misc/pat_a_mat.ini
"config/projects/sstc_v1.ini"
"config/projects/hfvttc_v1.ini"

"config/misc/pat_a_mat.ini"
)

for config in "${GALLERY_CONFIGS[@]}"; do
python3 ./gallery_generator.py $COMMON_CONFIG $config
done

0 comments on commit ab6a21e

Please sign in to comment.