experiments with gleam web stuff
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: rename to sprig

dev wells (May 17, 2026, 6:51 AM EDT) 9e0f21da 1bdcb3fb

+37 -25
+7 -6
README.md
··· 1 - # mote 1 + # sprig 2 2 3 - [![Package Version](https://img.shields.io/hexpm/v/mote)](https://hex.pm/packages/mote) 4 - [![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/mote/) 3 + [![Package Version](https://img.shields.io/hexpm/v/sprig)](https://hex.pm/packages/sprig) 4 + [![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/sprig/) 5 5 6 6 ```sh 7 - gleam add mote@1 7 + gleam add sprig@1 8 8 ``` 9 + 9 10 ```gleam 10 - import mote 11 + import sprig 11 12 12 13 pub fn main() -> Nil { 13 14 // TODO: An example of the project in use 14 15 } 15 16 ``` 16 17 17 - Further documentation can be found at <https://hexdocs.pm/mote>. 18 + Further documentation can be found at <https://hexdocs.pm/sprig>. 18 19 19 20 ## Development 20 21
+1 -1
gleam.toml
··· 1 - name = "mote" 1 + name = "sprig" 2 2 version = "1.0.0" 3 3 4 4 # Fill out these fields if you intend to generate HTML documentation or publish
+11
manifest.toml
··· 1 + # This file was generated by Gleam 2 + # You typically do not need to edit this file 3 + 4 + packages = [ 5 + { name = "gleam_stdlib", version = "1.0.2", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "0C5506589DF4C63DF5D6FFBB834562D6865C6C2AEE0019D7B37886BD6D128141" }, 6 + { name = "gleeunit", version = "1.10.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "254B697FE72EEAD7BF82E941723918E421317813AC49923EE76A18C788C61E72" }, 7 + ] 8 + 9 + [requirements] 10 + gleam_stdlib = { version = ">= 1.0.0 and < 2.0.0" } 11 + gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
-5
src/mote.gleam
··· 1 - import gleam/io 2 - 3 - pub fn main() -> Nil { 4 - io.println("Hello from mote!") 5 - }
+5
src/sprig.gleam
··· 1 + import gleam/io 2 + 3 + pub fn main() -> Nil { 4 + io.println("Hello from sprig!") 5 + }
-13
test/mote_test.gleam
··· 1 - import gleeunit 2 - 3 - pub fn main() -> Nil { 4 - gleeunit.main() 5 - } 6 - 7 - // gleeunit test functions end in `_test` 8 - pub fn hello_world_test() { 9 - let name = "Joe" 10 - let greeting = "Hello, " <> name <> "!" 11 - 12 - assert greeting == "Hello, Joe!" 13 - }
+13
test/sprig_test.gleam
··· 1 + import gleeunit 2 + 3 + pub fn main() -> Nil { 4 + gleeunit.main() 5 + } 6 + 7 + // gleeunit test functions end in `_test` 8 + pub fn hello_world_test() { 9 + let name = "Joe" 10 + let greeting = "Hello, " <> name <> "!" 11 + 12 + assert greeting == "Hello, Joe!" 13 + }