Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

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

gleam / test / publishing_no_readme / src / no_readme.gleam
508 B 24 lines
1// SPDX-License-Identifier: Apache-2.0 2// SPDX-FileCopyrightText: 2026 The Gleam contributors 3 4import gleam/io 5 6/// This tests that a project with no readme doesn't get published. 7/// 8pub fn main() -> Nil { 9 greeting() 10 first_line() 11 second_line() 12} 13 14fn greeting() { 15 io.println("Hello from no_readme!") 16} 17 18fn first_line() { 19 io.println("Here we have some additional code so that this is not mistaken") 20} 21 22fn second_line() { 23 io.println("for a default main project, that would be rejected as well!") 24}