1
0
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:
Andrey Nering 2019-01-02 13:42:06 -02:00
parent 9a062d90d1
commit 4817d8c67f
2 changed files with 15 additions and 10 deletions

View File

@ -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
View 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