mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
Move documentation tasks to its own Taskfile
This commit is contained in:
parent
9a062d90d1
commit
4817d8c67f
13
Taskfile.yml
13
Taskfile.yml
@ -1,5 +1,8 @@
|
||||
version: '2'
|
||||
|
||||
includes:
|
||||
docs: ./docs
|
||||
|
||||
vars:
|
||||
GIT_COMMIT:
|
||||
sh: git log -n 1 --format=%h
|
||||
@ -83,13 +86,3 @@ tasks:
|
||||
cmds:
|
||||
- echo '{{.GO_PACKAGES}}'
|
||||
silent: true
|
||||
|
||||
docs:install:
|
||||
desc: Installs docsify to work the on the documentation site
|
||||
cmds:
|
||||
- npm install docsify-cli -g
|
||||
|
||||
docs:serve:
|
||||
desc: Serves the documentation site locally
|
||||
cmds:
|
||||
- docsify serve docs
|
||||
|
12
docs/Taskfile.yml
Normal file
12
docs/Taskfile.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: '2'
|
||||
|
||||
tasks:
|
||||
install:
|
||||
desc: Installs docsify to work the on the documentation site
|
||||
cmds:
|
||||
- npm install docsify-cli -g
|
||||
|
||||
serve:
|
||||
desc: Serves the documentation site locally
|
||||
cmds:
|
||||
- docsify serve docs
|
Loading…
x
Reference in New Issue
Block a user