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:
Tyler Wilding
2021-06-29 20:31:35 -04:00
committed by GitHub
parent 1af0f4a1a7
commit a6c8065957
5 changed files with 68 additions and 9 deletions
+5
View File
@@ -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