From c55e9baff094d67a2e78e45e1f32dd4c5bd696bc Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Wed, 20 Nov 2024 18:13:07 +0000 Subject: [PATCH] Use core Gleam name prefix --- README.md | 4 ++-- gleam.toml | 2 +- src/{ => gleam}/deque.gleam | 0 test/{deque_test.gleam => gleam_deque_test.gleam} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/{ => gleam}/deque.gleam (100%) rename test/{deque_test.gleam => gleam_deque_test.gleam} (99%) diff --git a/README.md b/README.md index 4cfdd16..642ce9d 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ [![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/deque/) ```sh -gleam add deque@1 +gleam add gleam_deque@1 ``` ```gleam -import deque +import gleam/deque pub fn main() { let letters = diff --git a/gleam.toml b/gleam.toml index e154cb2..e5e5dae 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,4 +1,4 @@ -name = "deque" +name = "gleam_deque" version = "1.0.0" gleam = ">= 1.0.0" licences = ["Apache-2.0"] diff --git a/src/deque.gleam b/src/gleam/deque.gleam similarity index 100% rename from src/deque.gleam rename to src/gleam/deque.gleam diff --git a/test/deque_test.gleam b/test/gleam_deque_test.gleam similarity index 99% rename from test/deque_test.gleam rename to test/gleam_deque_test.gleam index 55c0e2d..b3d2f30 100644 --- a/test/deque_test.gleam +++ b/test/gleam_deque_test.gleam @@ -1,4 +1,4 @@ -import deque +import gleam/deque import gleam/int import gleam/list import gleam/pair