Skip to content

Commit 4817d8c

Browse files
committed
Move documentation tasks to its own Taskfile
1 parent 9a062d9 commit 4817d8c

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

Taskfile.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: '2'
22

3+
includes:
4+
docs: ./docs
5+
36
vars:
47
GIT_COMMIT:
58
sh: git log -n 1 --format=%h
@@ -83,13 +86,3 @@ tasks:
8386
cmds:
8487
- echo '{{.GO_PACKAGES}}'
8588
silent: true
86-
87-
docs:install:
88-
desc: Installs docsify to work the on the documentation site
89-
cmds:
90-
- npm install docsify-cli -g
91-
92-
docs:serve:
93-
desc: Serves the documentation site locally
94-
cmds:
95-
- docsify serve docs

docs/Taskfile.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: '2'
2+
3+
tasks:
4+
install:
5+
desc: Installs docsify to work the on the documentation site
6+
cmds:
7+
- npm install docsify-cli -g
8+
9+
serve:
10+
desc: Serves the documentation site locally
11+
cmds:
12+
- docsify serve docs

0 commit comments

Comments
 (0)