commit fbd7453551945679484c23352ce591a113031a3e Author: lewdum Date: Tue Oct 22 17:48:44 2024 -0300 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..599be4e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.beam +*.ez +/build +erl_crash.dump diff --git a/README.md b/README.md new file mode 100644 index 0000000..fac6c69 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# apkallone + +[![Package Version](https://img.shields.io/hexpm/v/apkallone)](https://hex.pm/packages/apkallone) +[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/apkallone/) + +```sh +gleam add apkallone@1 +``` +```gleam +import apkallone + +pub fn main() { + // TODO: An example of the project in use +} +``` + +Further documentation can be found at . + +## Development + +```sh +gleam run # Run the project +gleam test # Run the tests +``` diff --git a/gleam.toml b/gleam.toml new file mode 100644 index 0000000..a524cc3 --- /dev/null +++ b/gleam.toml @@ -0,0 +1,19 @@ +name = "apkallone" +version = "1.0.0" + +# Fill out these fields if you intend to generate HTML documentation or publish +# your project to the Hex package manager. +# +# description = "" +# licences = ["Apache-2.0"] +# repository = { type = "github", user = "", repo = "" } +# links = [{ title = "Website", href = "" }] +# +# For a full reference of all the available options, you can have a look at +# https://gleam.run/writing-gleam/gleam-toml/. + +[dependencies] +gleam_stdlib = ">= 0.34.0 and < 2.0.0" + +[dev-dependencies] +gleeunit = ">= 1.0.0 and < 2.0.0" diff --git a/src/apkallone.gleam b/src/apkallone.gleam new file mode 100644 index 0000000..550933f --- /dev/null +++ b/src/apkallone.gleam @@ -0,0 +1,5 @@ +import gleam/io + +pub fn main() { + io.println("Hello from apkallone!") +} diff --git a/test/apkallone_test.gleam b/test/apkallone_test.gleam new file mode 100644 index 0000000..3831e7a --- /dev/null +++ b/test/apkallone_test.gleam @@ -0,0 +1,12 @@ +import gleeunit +import gleeunit/should + +pub fn main() { + gleeunit.main() +} + +// gleeunit test functions end in `_test` +pub fn hello_world_test() { + 1 + |> should.equal(1) +}