Cowsay.jl/make-docs.sh
Thomas A. Christensen II 7872182545
Add a shortcut for initializing and testing docs locally
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2021-11-23 12:55:18 -06:00

4 lines
306 B
Bash
Executable file

#!/bin/sh
julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs -e 'using Documenter: DocMeta, doctest; using Cowsay; DocMeta.setdocmeta!(Cowsay, :DocTestSetup, :(using Cowsay); recursive=true); doctest(Cowsay)'
julia --project=docs docs/make.jl