-
Notifications
You must be signed in to change notification settings - Fork 0
/
gleam.toml
47 lines (42 loc) · 1.91 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
name = "playground"
version = "1.0.0"
target = "javascript"
licences = ["Apache-2.0"]
# Fill out these fields if you intend to generate HTML documentation or publish
# your project to the Hex package manager.
#
# description = ""
# repository = { type = "github", user = "username", repo = "project" }
# links = [{ title = "Website", href = "https://gleam.run" }]
#
# For a full reference of all the available options, you can have a look at
# https://gleam.run/writing-gleam/gleam-toml/.
[dependencies]
# Run 'git submodule add --name stdlib -- https://github.com/glistix/stdlib external/stdlib'
# to clone Glistix's stdlib patch to the local path specified below. This is needed so stdlib
# will work on the Nix target. Hex dependents will use the stdlib version specified below,
# in [glistix.preview.hex-patch], instead.
gleam_stdlib = { path = "./external/stdlib" }
simplifile = ">= 2.2.0 and < 3.0.0"
snag = "~> 0.2"
htmb = "~> 1.1"
filepath = ">= 1.0.0 and < 2.0.0"
[dev-dependencies]
glistix_gleeunit = ">= 1.0.0 and < 2.0.0"
# The [glistix.preview] namespace contains useful settings which will be needed
# during Glistix beta. In the future, it's likely these won't be necessary
# anymore.
[glistix.preview]
# If you're patching a package using a local dependency/Git submodule and you
# get a local dependency conflict error, add it to the list below.
local-overrides = ["gleam_stdlib"]
# The section below allows publishing your package to Hex despite having
# local dependencies, by declaring that you depend on another Hex package
# instead.
# This is needed to be able to patch stdlib etc. locally during development
# and at the same time publish to Hex without the patch.
# The section below should only be used for this purpose. Please do not abuse
# this feature, as it is mostly a temporary workaround while Gleam doesn't have
# a proper dependency patching system.
[glistix.preview.hex-patch]
gleam_stdlib = ">= 0.34.0 and < 2.0.0"