setup gleam project
This commit is contained in:
parent
54a72ab685
commit
417ed605f6
5 changed files with 53 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
[tools]
|
[tools]
|
||||||
elixir = "1.17.3-otp-27"
|
elixir = "1.17.3-otp-27"
|
||||||
erlang = "27.1.2"
|
erlang = "27.1.2"
|
||||||
|
gleam = "1.6.2"
|
||||||
|
|
4
2024/gleam/.gitignore
vendored
Normal file
4
2024/gleam/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
*.beam
|
||||||
|
*.ez
|
||||||
|
/build
|
||||||
|
erl_crash.dump
|
24
2024/gleam/README.md
Normal file
24
2024/gleam/README.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# aoc
|
||||||
|
|
||||||
|
[![Package Version](https://img.shields.io/hexpm/v/aoc)](https://hex.pm/packages/aoc)
|
||||||
|
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/aoc/)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
gleam add aoc@1
|
||||||
|
```
|
||||||
|
```gleam
|
||||||
|
import aoc
|
||||||
|
|
||||||
|
pub fn main() {
|
||||||
|
// TODO: An example of the project in use
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Further documentation can be found at <https://hexdocs.pm/aoc>.
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
```sh
|
||||||
|
gleam run # Run the project
|
||||||
|
gleam test # Run the tests
|
||||||
|
```
|
19
2024/gleam/gleam.toml
Normal file
19
2024/gleam/gleam.toml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name = "aoc"
|
||||||
|
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"
|
5
2024/gleam/src/aoc.gleam
Normal file
5
2024/gleam/src/aoc.gleam
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import gleam/io
|
||||||
|
|
||||||
|
pub fn main() {
|
||||||
|
io.println("Hello from aoc!")
|
||||||
|
}
|
Loading…
Reference in a new issue