-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmise.toml
More file actions
52 lines (41 loc) · 1.26 KB
/
Copy pathmise.toml
File metadata and controls
52 lines (41 loc) · 1.26 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tools]
ruby = "4.0.2"
node = "25.9.0"
terraform = "latest"
hk = "1.44.0"
[env]
_.file = ".env"
[tasks.setup]
description = "Install project dependencies and git hooks"
run = """
bundle install
npm install
hk install
"""
[tasks."test:ruby"]
description = "Run Ruby unit tests"
run = "bundle exec rake test:ruby"
[tasks."test:integration"]
description = "Run integration tests"
run = "bundle exec rake test:integration"
[tasks.test]
description = "Run full test suite"
depends = ["test:ruby", "test:integration"]
[tasks."lint:ruby"]
description = "Syntax-check Ruby sources"
run = "bundle exec ruby -e 'files = [\"Rakefile\", *Dir[\"_plugins/**/*.rb\", \"test/**/*.rb\"]]; ok = files.all? { |file| system(RbConfig.ruby, \"-wc\", file) }; exit(ok ? 0 : 1)'"
[tasks."lint:js"]
description = "Syntax-check JavaScript config"
run = "node --check postcss.config.js"
[tasks."lint:site"]
description = "Run Jekyll site diagnostics"
run = "bundle exec jekyll doctor"
[tasks.lint]
description = "Run all lint checks"
depends = ["lint:ruby", "lint:js", "lint:site"]
[tasks.serve]
description = "Start the local Jekyll dev server"
run = "bundle exec jekyll serve --future --config _config.yml,_config_dev.yml"
[tasks.build]
description = "Build the site"
run = "bundle exec jekyll build"