DevEnvConfig
Pulic repo of DevEnvConfig.
Early release for registration. Do not use.
Conventions
We use TypeName|∅ to denote the type Union{TypeName, Nothing}
const ∅ = Nothing
Base.:|(::Type{A},::Type{B}) where {A,B} = Union{A,B}Exported API
DevEnvConfig.ActionStatus — Type@enum ActionStatus Success Warning ErrorReturn type of configuration actions
DevEnvConfig.newpkg — Functionfunction newpkg(pkname::String;
dir :: String|∅ = nothing,
docrepo :: String|∅ = nothing,
private :: Bool = false,
useextjl :: Bool|∅ = nothing,
generalregistry :: Bool|∅ = nothing,
license :: String|∅ = nothing) -> ActionStatusCreate a new package. This will use your GitHub account to:
- setup documentation generation and deployment,
- setup unit testing and badge status,
- setup code coverage on CodeCov and badge statu
This template handles private package repo, with doc deployment in another (public) repo. Also provides guided setup for code coverage reporting for private repo.
Arguments
pkname: the name of the new Julia Packagedir: the directory is which to create the package, defaul toJULIA_PKG_DEVDIRdocrepo: the name of a GitHub repo used to publish the documentation, default to the package repo.private: set totrueis this package is hosted in a private GitHub repositoryuseextjl: set totrueif the GitHub repository is namedPackageName.jl, default to!privategeneralregistry: set totrueif this package will be registered in General, default to!privatelicense: name of the LICENSE file, default toMITfor public package