org-report-stats/Makefile

24 lines
666 B
Makefile

default : concat
concat:
echo "* " | tee -a scripts/stats.org
date | tee -a scripts/stats.org
echo " " | tee -a scripts/stats.org
bash scripts/concat_org.sh |tee -a scripts/stats.org;
convert:
bash ./scripts/concat_org.sh
mv all_tasks.org sources/
node parse_orgmode_to_json.mjs
ts-node render_chart.mjs
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;
render:
serve output;
firefox http://localhost:3000/output_all_tasks_report;
folders:
rm -rf emploi-du-temps/folders_build/* ;
node emploi-du-temps/folder_from_tasks.mjs ;