mirror of
https://github.com/open-goal/jak-project
synced 2026-06-19 07:47:29 -04:00
Docs: Automatically build / update decompile line count on documentation site (#650)
* prep work for next step * better formatting on latest updates * test * fix mistakes
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user