mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 10:44:02 +03:00
Add docs task
This commit is contained in:
+5
-1
@@ -1,5 +1,4 @@
|
||||
[tools]
|
||||
"go:golang.org/x/pkgsite/cmd/pkgsite" = "latest"
|
||||
go = "latest"
|
||||
gofumpt = "latest"
|
||||
|
||||
@@ -18,3 +17,8 @@ run = [
|
||||
"find dist -depth 1 -type d | xargs -r rm -r",
|
||||
"rm ./dist/config.yaml"
|
||||
]
|
||||
|
||||
[tasks.docs]
|
||||
description = "Run doc server"
|
||||
tools."go:golang.org/x/pkgsite/cmd/pkgsite" = "latest"
|
||||
run = "pkgsite -http 0.0.0.0:10000"
|
||||
|
||||
Reference in New Issue
Block a user