From 7c4ebf35b654b930054964ad6906d1046e904701 Mon Sep 17 00:00:00 2001 From: Cal Courtney Date: Tue, 14 May 2024 11:51:22 +0100 Subject: [PATCH] gleam: add page (#12784) Co-authored-by: spageektti <155078792+spageektti@users.noreply.github.com> --- pages/common/gleam.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/gleam.md diff --git a/pages/common/gleam.md b/pages/common/gleam.md new file mode 100644 index 000000000..872fa81f0 --- /dev/null +++ b/pages/common/gleam.md @@ -0,0 +1,36 @@ +# gleam + +> The compiler, build tool, package manager and code formatter for Gleam, "a friendly language for building type-safe systems that scale!". +> More information: . + +- Create a new gleam project: + +`gleam new {{project_name}}` + +- Build and run a gleam project: + +`gleam run` + +- Build the project: + +`gleam build` + +- Run a project for a particular platform and runtime: + +`gleam run --target {{platform}} --runtime {{runtime}}` + +- Add a hex dependency to your project: + +`gleam add {{dependency_name}}` + +- Run project tests: + +`gleam test` + +- Format source code: + +`gleam format` + +- Type check the project: + +`gleam check`