From 4a1547cf1411b19f6c2902dd778723aea9706214 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Fri, 13 Dec 2024 20:29:35 +0100 Subject: [PATCH] Rename project to Crooked Rook --- README.md | 12 ++++++------ gleam.toml | 2 +- manifest.toml | 21 +++++++++++++++++++++ src/{rookcrook.gleam => crooked_rook.gleam} | 2 +- 4 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 manifest.toml rename src/{rookcrook.gleam => crooked_rook.gleam} (97%) diff --git a/README.md b/README.md index a2830ab..19a21e0 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ -# rookcrook +# Crooked Rook -[![Package Version](https://img.shields.io/hexpm/v/rookcrook)](https://hex.pm/packages/rookcrook) -[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/rookcrook/) +[![Package Version](https://img.shields.io/hexpm/v/crooked_rook)](https://hex.pm/packages/crooked_rook) +[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/crooked_rook/) ```sh -gleam add rookcrook@1 +gleam add crooked_rook@1 ``` ```gleam -import rookcrook +import crooked_rook pub fn main() { // TODO: An example of the project in use } ``` -Further documentation can be found at . +Further documentation can be found at . ## Development diff --git a/gleam.toml b/gleam.toml index 576fb93..4e28e8b 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,4 +1,4 @@ -name = "rookcrook" +name = "crooked_rook" version = "1.0.0" # Fill out these fields if you intend to generate HTML documentation or publish diff --git a/manifest.toml b/manifest.toml new file mode 100644 index 0000000..82daa2e --- /dev/null +++ b/manifest.toml @@ -0,0 +1,21 @@ +# This file was generated by Gleam +# You typically do not need to edit this file + +packages = [ + { name = "gleam_community_ansi", version = "1.4.1", build_tools = ["gleam"], requirements = ["gleam_community_colour", "gleam_stdlib"], otp_app = "gleam_community_ansi", source = "hex", outer_checksum = "4CD513FC62523053E62ED7BAC2F36136EC17D6A8942728250A9A00A15E340E4B" }, + { name = "gleam_community_colour", version = "1.4.1", build_tools = ["gleam"], requirements = ["gleam_json", "gleam_stdlib"], otp_app = "gleam_community_colour", source = "hex", outer_checksum = "386CB9B01B33371538672EEA8A6375A0A0ADEF41F17C86DDCB81C92AD00DA610" }, + { name = "gleam_erlang", version = "0.33.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "A1D26B80F01901B59AABEE3475DD4C18D27D58FA5C897D922FCB9B099749C064" }, + { name = "gleam_json", version = "2.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "0A57FB5666E695FD2BEE74C0428A98B0FC11A395D2C7B4CDF5E22C5DD32C74C6" }, + { name = "gleam_stdlib", version = "0.47.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "3B22D46743C46498C8355365243327AC731ECD3959216344FA9CF9AD348620AC" }, + { name = "glearray", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "glearray", source = "hex", outer_checksum = "B99767A9BC63EF9CC8809F66C7276042E5EFEACAA5B25188B552D3691B91AC6D" }, + { name = "gleeunit", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "F7A7228925D3EE7D0813C922E062BFD6D7E9310F0BEE585D3A42F3307E3CFD13" }, + { name = "repeatedly", version = "2.1.2", build_tools = ["gleam"], requirements = [], otp_app = "repeatedly", source = "hex", outer_checksum = "93AE1938DDE0DC0F7034F32C1BF0D4E89ACEBA82198A1FE21F604E849DA5F589" }, + { name = "spinner", version = "1.3.0", build_tools = ["gleam"], requirements = ["gleam_community_ansi", "gleam_stdlib", "glearray", "repeatedly"], otp_app = "spinner", source = "hex", outer_checksum = "B824C4CFDA6AC912D14365BF365F2A52C4DA63EF2D768D2A1C46D9BF7AF669E7" }, +] + +[requirements] +gleam_community_ansi = { version = ">= 1.4.1 and < 2.0.0" } +gleam_erlang = { version = ">= 0.33.0 and < 1.0.0" } +gleam_stdlib = { version = ">= 0.34.0 and < 2.0.0" } +gleeunit = { version = ">= 1.0.0 and < 2.0.0" } +spinner = { version = ">= 1.3.0 and < 2.0.0" } diff --git a/src/rookcrook.gleam b/src/crooked_rook.gleam similarity index 97% rename from src/rookcrook.gleam rename to src/crooked_rook.gleam index 7109e28..3c0d2cd 100644 --- a/src/rookcrook.gleam +++ b/src/crooked_rook.gleam @@ -27,7 +27,7 @@ fn ask_move() -> String { } pub fn main() { - "\u{2656} Hello from rookcrook!" + "\u{2656} Hello from Crooked Rook!" |> ansi.bg_white |> ansi.black |> io.println