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 Error
Return 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) -> ActionStatus
Create 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_DEVDIR
docrepo
: the name of a GitHub repo used to publish the documentation, default to the package repo.private
: set totrue
is this package is hosted in a private GitHub repositoryuseextjl
: set totrue
if the GitHub repository is namedPackageName.jl
, default to!private
generalregistry
: set totrue
if this package will be registered in General, default to!private
license
: name of the LICENSE file, default toMIT
for public package