diff --git a/.gitignore b/.gitignore index 3f8ef7d..57faf8f 100644 --- a/.gitignore +++ b/.gitignore @@ -133,6 +133,7 @@ dist output/* sources/*.json sources/tasks.json +sources/*.org /scripts/all_tasks.org /scripts/all.pdf /scripts/all.tex diff --git a/parse_orgmode_to_json.mjs b/parse_orgmode_to_json.mjs index 0e5966c..27348f7 100644 --- a/parse_orgmode_to_json.mjs +++ b/parse_orgmode_to_json.mjs @@ -10,7 +10,7 @@ import moment from 'moment'; * initialize configs **********************/ -const sourceFileName = 'tasks.org' +const sourceFileName = 'all_tasks.org' const sourceFilePath = './sources/' + sourceFileName; let headers = [] diff --git a/up_stats.sh b/up_stats.sh new file mode 100644 index 0000000..5875ce5 --- /dev/null +++ b/up_stats.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +bash ./scripts/concat_org.sh +mv all_tasks.org > ./sources +node parse_orgmode_to_json.mjs +echo "et voilĂ " \ No newline at end of file