Skip to content

Commit

Permalink
v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TanklesXL committed Nov 13, 2023
1 parent 694167f commit e19d391
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
erlang: ["25.3.2.3", "26.0.2"]
gleam: ["0.31.0"]
gleam: ["0.32.4"]
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/test
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
gleam 0.31.0
gleam 0.32.4
nodejs 20.5.1
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Changelog

## [Unreleased](https://github.com/TanklesXL/glint/compare/v0.12.0...HEAD)
## [Unreleased](https://github.com/TanklesXL/glint/compare/v0.13.0...HEAD)

## [0.13.0](https://github.com/TanklesXL/glint/compare/v0.12.0...v0.13.0)

- clean up `flag.get_*` and `flag.get_*_values` functions
- update to gleam 0.32

## [0.12.0](https://github.com/TanklesXL/glint/compare/v0.11.3...v0.12.0)

Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links = [
{ title = "Hex", href = "https://hex.pm/packages/glint" },
{ title = "Docs", href = "https://hexdocs.pm/glint/" },
]
gleam = ">= 0.30.0"
gleam = ">= 0.32.0"

[dependencies]
gleam_stdlib = "~> 0.19"
Expand Down
7 changes: 3 additions & 4 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
# You typically do not need to edit this file

packages = [
{ name = "gleam_bitwise", version = "1.3.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_bitwise", source = "hex", outer_checksum = "E2A46EE42E5E9110DAD67E0F71E7358CBE54D5EC22C526DD48CBBA3223025792" },
{ name = "gleam_community_ansi", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib", "gleam_bitwise"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "6E4E0CF2B207C1A7FCD3C21AA43514D67BC7004F21F82045CDCCE6C727A14862" },
{ name = "gleam_community_colour", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_bitwise", "gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "D27CE357ECB343929A8CEC3FBA0B499943A47F0EE1F589EE16AFC2DC21C61E5B" },
{ name = "gleam_stdlib", version = "0.31.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "6D1BC5B4D4179B9FEE866B1E69FE180AC2CE485AD90047C0B32B2CA984052736" },
{ name = "gleam_community_ansi", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "8B5A9677BC5A2738712BBAF2BA289B1D8195FDF962BBC769569976AD5E9794E1" },
{ name = "gleam_community_colour", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "036C206886AFB9F153C552700A7A0B4D2864E3BC96A20C77E5F34A013C051BE3" },
{ name = "gleam_stdlib", version = "0.32.1", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "ABF00CDCCB66FABBCE351A50060964C4ACE798F95A0D78622C8A7DC838792577" },
{ name = "gleeunit", version = "0.11.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "1397E5C4AC4108769EE979939AC39BF7870659C5AFB714630DEEEE16B8272AD5" },
{ name = "snag", version = "0.2.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "snag", source = "hex", outer_checksum = "8FD70D8FB3728E08AC425283BB509BB0F012BE1AE218424A597CDE001B0EE589" },
]
Expand Down
10 changes: 5 additions & 5 deletions src/glint.gleam
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import gleam/map.{Map}
import gleam/option.{None, Option, Some}
import gleam/map.{type Map}
import gleam/option.{type Option, None, Some}
import gleam/list
import gleam/io
import gleam/string
import snag.{Result}
import glint/flag.{Flag, Map as FlagMap}
import snag.{type Result}
import glint/flag.{type Flag, type Map as FlagMap}
import gleam/string_builder as sb
import gleam_community/ansi
import gleam_community/colour.{Colour}
import gleam_community/colour.{type Colour}
import gleam/result
import gleam/function

Expand Down
6 changes: 3 additions & 3 deletions src/glint/flag.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import gleam/result
import gleam/int
import gleam/list
import gleam/float
import snag.{Result, Snag}
import gleam/option.{None, Option, Some}
import glint/flag/constraint.{Constraint}
import snag.{type Result, type Snag}
import gleam/option.{type Option, None, Some}
import glint/flag/constraint.{type Constraint}
import gleam

/// Flag inputs must start with this prefix
Expand Down
2 changes: 1 addition & 1 deletion src/glint/flag/constraint.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import gleam/list
import gleam/result
import gleam/string
import gleam/set
import snag.{Result}
import snag.{type Result}

/// Constraint type for verifying flag values
///
Expand Down
2 changes: 1 addition & 1 deletion test/glint/flag_test.gleam
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import gleeunit/should
import glint.{CommandInput}
import glint.{type CommandInput}
import glint/flag
import gleam/map
import gleam/list
Expand Down
2 changes: 1 addition & 1 deletion test/glint_test.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleeunit
import gleeunit/should
import glint.{CommandInput, Help, Out}
import glint.{type CommandInput, Help, Out}
import glint/flag
import gleam/function
import snag
Expand Down

0 comments on commit e19d391

Please sign in to comment.