-
Notifications
You must be signed in to change notification settings - Fork 0
/
gleam.toml
55 lines (47 loc) · 1.3 KB
/
gleam.toml
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
53
54
55
name = "cactus"
version = "1.2.0"
licences = ["MIT"]
repository = { type = "github", user = "bwireman", repo = "cactus" }
description = "A tool for managing git lifecycle hooks with ✨ gleam! Pre commit, Pre push and more!"
gleam = ">= 0.34.1"
links = []
internal_modules = ["cactus/*"]
target = "javascript"
[javascript]
typescript_declarations = false
runtime = "nodejs"
[javascript.deno]
allow_all = true
[cactus]
always_init = true
[cactus.pre-commit]
actions = [
{ command = "format", kind = "sub_command", args = [
"--check",
], files = [
".gleam",
] },
{ command = "./scripts/test.sh", kind = "binary" },
]
[cactus.pre-push]
actions = [
{ command = "./scripts/test.sh", kind = "binary" },
{ command = "go_over", kind = "module", args = [
"--outdated",
] },
]
[cactus.test]
actions = [
{ command = "touch", kind = "binary", args =[".another.test-run"] },
{ command = "touch", kind = "binary", args = [".test-run"], files = [".another.test-run"] },
]
[dependencies]
gleam_stdlib = ">= 0.34.0 and < 2.0.0"
tom = ">= 1.0.0 and < 2.0.0"
shellout = ">= 1.6.0 and < 2.0.0"
simplifile = ">= 2.0.1 and < 3.0.0"
filepath = ">= 1.0.0 and < 2.0.0"
gleither = ">= 2.0.0 and < 3.0.0"
[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
go_over = ">= 2.1.0 and < 3.0.0"