Create new Julia packages, the easy way
docs | ||
src | ||
templates | ||
test | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
Manifest.toml | ||
Project.toml | ||
README.md |
PkgTemplates
PkgTemplates creates new Julia packages in an easy, repeatable, and customizable way.
Assuming you have the relatively standard Git options user.name
, user.email
and github.user
set up globally with git config --global
, creating a Template
is as simple as:
using PkgTemplates
t = Template()
However, it's probably desirable to customize the template to your liking with various options and plugins:
t = Template(;
dir="~/code",
plugins=[
Git(; manifest=true, ssh=true),
Codecov(),
TravisCI(; x86=true),
Documenter{TravisCI}(),
],
)
Once you have a template, you can create packages with ease:
t("MyPkg")
For a much more detailled overview, please see the documentation.