Skip to content
Snippets Groups Projects
Commit abe17b6c authored by Eliott Sammier's avatar Eliott Sammier
Browse files

CLI: missing activity count

parent dd6eaca6
Branches
No related tags found
No related merge requests found
......@@ -118,6 +118,7 @@ count_all() {
nb_gd="$(grep -rI 'new ExerciceGD(' "$content_dir" | wc -l)"
nb_exo_total="$((nb_qm + nb_qcu + nb_qcm + nb_tat + nb_gd))"
nb_exo_other="$((nb_exo - nb_exo_total))"
nb_act="$((nb_courses + nb_exo_total))"
nb_flash="$(grep -Ec '/contenu/media/.*\.swf$' "$index")"
nb_flash_0="$(grep -Ec '^0 ' "$swf_index")"
......
......@@ -3,7 +3,7 @@ sous-parties: 18
pages: 151
normales: 132
spéciales: 19
activités:
activités: 132
cours: 59
exercices: 73
QCU: 39
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment