ignore org files in source, make script to run update for my tasks orgmode

This commit is contained in:
Tykayn 2023-03-06 00:12:24 +01:00 committed by tykayn
parent de47727360
commit bae6e635ed
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

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

View File

@ -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 = []

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