Compare commits

...

4 Commits

5 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View File

@ -133,6 +133,7 @@ dist
output/* output/*
sources/*.json sources/*.json
sources/tasks.json sources/tasks.json
sources/*.org
/scripts/all_tasks.org /scripts/all_tasks.org
/scripts/all.pdf /scripts/all.pdf
/scripts/all.tex /scripts/all.tex

View File

@ -10,7 +10,7 @@ import moment from 'moment';
* initialize configs * initialize configs
**********************/ **********************/
const sourceFileName = 'demo_more.org' const sourceFileName = 'all_tasks.org'
const sourceFilePath = './sources/' + sourceFileName; const sourceFilePath = './sources/' + sourceFileName;
let headers = [] let headers = []
@ -65,7 +65,8 @@ let task = {
corpus: "", corpus: "",
state: "", state: "",
tags: [], tags: [],
tagsInherited: [], children: [], // TODO list children tasks with a reference to the parent when level is superior to previous task
tagsInherited: [], // TODO inherit tags
dates: {}, dates: {},
logbook: {}, logbook: {},
properties: {}, properties: {},

6
up_stats.sh Normal file
View File

@ -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à"