Packages

CLI tool to package a Gleam app as a FreeBSD package, with a service script.

Current section

Files

Jump to
glm_freebsd priv example gleam.toml
Raw

priv/example/gleam.toml

name = "example"
version = "1.0.0"
description = "An example app that will be used to create a FreeBSD package (with service scripts)."
repository = { type = "github", user = "someuser", repo = "git@github.com:someuser/example_app.git" }
[dependencies]
gleam_stdlib = ">= 0.44.0 and < 2.0.0"
gleam_erlang = ">= 1.3.0 and < 2.0.0"
envoy = ">= 1.1.0 and < 2.0.0"
logging = ">= 1.3.0 and < 2.0.0"
[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
[freebsd]
pkg_user = true
pkg_description = "This is a longer description .........................................................."
pkg_maintainer = "someone@example.com"
pkg_scripts = "post-install=post-install.sh,pre-deinstall=pre-deinstall.sh"
pkg_config_dir = "/tmp"
pkg_env_file = "example.env"
[freebsd.deps]
list = "pstree,tree"
[freebsd.deps.pstree]
version = "2.36"
origin = "sysutils/pstree"
[freebsd.deps.tree]
version = "2.2.1"
origin = "sysutils/tree"