-
Notifications
You must be signed in to change notification settings - Fork 3
/
gleam.toml
64 lines (53 loc) · 1.36 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
56
57
58
59
60
61
62
63
64
name = "rad"
version = "1.2.1"
description = "A task runner for Gleam projects"
licences = ["Apache-2.0"]
target = "javascript"
gleam = ">= 0.34.0"
[repository]
repo = "rad"
user = "tynanbe"
type = "github"
[[links]]
href = "https://gleam.run/"
title = "Website"
[dependencies]
gleam_http = "~> 3.5"
gleam_httpc = "~> 2.1"
gleam_json = "~> 0.7 or ~> 1.0"
gleam_stdlib = "~> 0.34 or ~> 1.0"
glint = "~> 0.16"
shellout = "~> 1.6"
snag = "~> 0.3 or ~> 1.0"
thoas = "~> 0.4 or ~> 1.0"
tomerl = "~> 0.5 or ~> 1.0"
[dev-dependencies]
gleeunit = "~> 1.0"
[javascript.deno]
allow_all = true
[rad]
workbook = "rad/workbook/standard"
targets = ["erlang", "javascript"]
with = "javascript"
[[rad.formatters]]
name = "erlang"
check = ["erlfmt", "--check"]
run = ["erlfmt", "--write", "src/rad_ffi.erl", "src/file_ffi.erl"]
[[rad.formatters]]
name = "javascript"
check = ["deno", "fmt", "--check"]
run = ["deno", "fmt"]
[[rad.tasks]]
path = ["purple", "heart"]
run = ["echo", "💜 The dream you'll have here is a dream within a dream."]
shortdoc = "💜 The dream you'll have here is a dream within a dream."
[[rad.tasks]]
path = ["sparkles"]
run = ["echo", "✨ It's been a long road getting here..."]
[[rad.tasks]]
path = ["sparkling", "heart"]
run = ["sh", "-euc", """
echo \
💖 I was staring out the window and there it was, just fluttering there... \
$(rad version)!
"""]