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;
private :: Bool,
dir :: String|∅ = nothing,
docrepo :: String|∅ = nothing,
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 Packageprivate
: set totrue
is this package is hosted in a private GitHub repositorydir
: 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.useextjl
: set to
trueif the GitHub repository is named
PackageName.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