Skip to content

Commit

Permalink
Add taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
triole committed Aug 30, 2024
1 parent b678b8a commit 72ca365
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 72ca365

Please sign in to comment.