forked from hugo-themes/toha-example-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
32 lines (26 loc) · 718 Bytes
/
Copy pathmise.toml
File metadata and controls
32 lines (26 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tools]
hugo-extended = 'latest'
node = 'latest'
go = 'latest'
[tasks.install]
description = "Install dependencies"
run = ["hugo mod tidy", "hugo mod npm pack", "npm install"]
[tasks.build]
description = "Build Hugo site"
depends = ["install"]
run = "hugo --gc --minify"
[tasks.server]
description = "Run hugo server"
depends = "install"
run = "hugo server -w"
[tasks.update]
description = "Update the theme to latest release"
run = "hugo mod get -u"
depends_post = "install"
[tasks.update-to-main]
description = "Update the theme to main branch"
run = "hugo mod get github.com/hugo-toha/toha/v4@main"
depends_post = "install"
[tasks.fix-security]
description = "Run npm audit fix"
run = "npm audit fix --force"