init gleam code
This commit is contained in:
parent
edc815842e
commit
7149273986
9 changed files with 112 additions and 3 deletions
23
weather_portal/.github/workflows/test.yml
vendored
Normal file
23
weather_portal/.github/workflows/test.yml
vendored
Normal 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
24
weather_portal/README.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# weather_portal
|
||||
|
||||
[](https://hex.pm/packages/weather_portal)
|
||||
[](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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue