docs: Switch to tracking on a file-basis instead of LoC (#743)

* docs: Switch to tracking on a file-basis instead of LoC

* docs: re-gen the app
This commit is contained in:
Tyler Wilding
2021-08-09 19:41:25 -04:00
committed by GitHub
parent 6ff1dbdab3
commit 0007a890cf
19 changed files with 106 additions and 42 deletions
+1 -3
View File
@@ -22,9 +22,7 @@ jobs:
# just do a sed for now
- name: Update Line Count
run: |
chmod +x ./.github/workflows/scripts/line-count.sh
./.github/workflows/scripts/line-count.sh
run: python ./scripts/update-file-progress.py
- name: Update Site
run: |
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
LINE_COUNT=$(find ./goal_src -name '*.gc' | xargs wc -l | tail -1 | awk -F'[^0-9]+' '{ print $2 }')
sed -i "s/.*value.*/ \"value\": ${LINE_COUNT},/g" ./docs/gh-pages-proj/src/config/progress.json