org-report-stats/Makefile

24 lines
665 B
Makefile
Raw Normal View History

default : concat
concat:
echo "* " | tee -a scripts/stats.org
date | tee -a scripts/stats.org
2023-03-04 23:52:46 +01:00
echo " " | tee -a scripts/stats.org
bash scripts/concat_org.sh |tee -a scripts/stats.org;
convert:
2023-09-22 15:47:12 +02:00
bash ./scripts/concat_org.sh
2023-03-25 12:43:39 +01:00
mv all_tasks.org sources/
node parse_orgmode_to_json.mjs
2023-09-24 10:20:02 +02:00
ts-node render_chart.ts
2023-03-25 12:43:39 +01:00
start:
npm start
copyTasksJson :
echo "update du fichier tasks.json dans le dossier de sources depuis Nextcloud"
cp ~/Nextcloud/textes/orgmode/tasks.json sources/
npm start;
2023-02-09 23:29:37 +01:00
render:
serve output;
firefox http://localhost:3000/output_all_tasks_report;
folders:
2023-03-04 23:52:46 +01:00
rm -rf emploi-du-temps/folders_build/* ;
node emploi-du-temps/folder_from_tasks.mjs ;