Fix package name

This commit is contained in:
Thomas A. Christensen II 2021-09-23 09:11:47 -05:00
parent a6783ea51a
commit 3365ffe30e
Signed by: millironx
GPG key ID: 139C07724802BC5D
5 changed files with 13 additions and 8 deletions

View file

@ -1,4 +1,4 @@
name = "cowsay"
name = "Cowsay"
uuid = "b6370f49-8ad1-4651-ad9e-3639b35da0e9"
authors = ["Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors"]
version = "0.1.0"

View file

@ -1,4 +1,4 @@
# cowsay
# Cowsay.jl
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://MillironX.github.io/cowsay.jl/stable)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://MillironX.github.io/cowsay.jl/dev)

View file

@ -4,7 +4,7 @@ using Documenter
DocMeta.setdocmeta!(cowsay, :DocTestSetup, :(using cowsay); recursive=true)
makedocs(;
modules=[cowsay],
modules=[Cowsay],
authors="Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> and contributors",
repo="https://github.com/MillironX/cowsay.jl/blob/{commit}{path}#{line}",
sitename="cowsay.jl",

View file

@ -1,5 +1,5 @@
```@meta
CurrentModule = cowsay
CurrentModule = Cowsay
```
# cowsay
@ -10,5 +10,5 @@ Documentation for [cowsay](https://github.com/MillironX/cowsay.jl).
```
```@autodocs
Modules = [cowsay]
Modules = [Cowsay]
```

View file

@ -1,8 +1,13 @@
module cowsay
module Cowsay
export cowsay_function
export cowsay
function cowsay_function(message::AbstractString)
"""
cowsay(message::AbstractString)
Prints a cow saying `message` as unwrapped text.
"""
function cowsay(message::AbstractString)
messagelines = split(message, "\n")
nlines = length(messagelines)