Compare commits
4 Commits
3985b4ba33
...
9ff38a3aa8
Author | SHA1 | Date |
---|---|---|
Tykayn | 9ff38a3aa8 | |
Tykayn | bae6e635ed | |
Tykayn | de47727360 | |
Tykayn | 53f757e384 |
|
@ -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
|
||||||
|
|
|
@ -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: {},
|
||||||
|
|
|
@ -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à"
|
Loading…
Reference in New Issue