From 72ca365f5051522841f200b271e23c48f054967b Mon Sep 17 00:00:00 2001 From: olaf michaelis Date: Fri, 30 Aug 2024 08:45:15 +0200 Subject: [PATCH] Add taskfile --- Taskfile.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Taskfile.yml diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 00000000..c9678f45 --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,34 @@ +--- +version: '3' + +vars: + SOURCE_FOLDER: src + +tasks: + default: + cmds: + - task: build + - task: serve + - task: clean + + build: + desc: build the page + cmds: + - task: vendor + - cmd: bundle exec jekyll build + + serve: + desc: serve the page + cmds: + - task: vendor + - cmd: bundle exec jekyll serve + + vendor: + desc: install vendor files + cmds: + - cmd: bundle install --path vendor + + clean: + desc: clean up folders 'site' and 'vendor' + cmds: + - cmd: rm -rf vendor site