init gleam code

This commit is contained in:
Travis Shears 2026-03-23 12:47:53 +01:00
parent edc815842e
commit 7149273986
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469
9 changed files with 112 additions and 3 deletions

View file

@ -0,0 +1,23 @@
name: test
on:
push:
branches:
- master
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: erlef/setup-beam@v1
with:
otp-version: "28"
gleam-version: "1.15.2"
rebar3-version: "3"
# elixir-version: "1"
- run: gleam deps download
- run: gleam test
- run: gleam format --check src test

24
weather_portal/README.md Normal file
View file

@ -0,0 +1,24 @@
# weather_portal
[![Package Version](https://img.shields.io/hexpm/v/weather_portal)](https://hex.pm/packages/weather_portal)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/weather_portal/)
```sh
gleam add weather_portal@1
```
```gleam
import weather_portal
pub fn main() -> Nil {
// TODO: An example of the project in use
}
```
Further documentation can be found at <https://hexdocs.pm/weather_portal>.
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```