• Stars
    star
    610
  • Rank 71,184 (Top 2 %)
  • Language
    Julia
  • License
    MIT License
  • Created almost 7 years ago
  • Updated 25 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create new Julia packages, the easy way

PkgTemplates

Stable Dev CI Codecov Code Style: Blue ColPrac: Contributor Guide on Collaborative Practices for Community Packages

PkgTemplates creates new Julia packages in an easy, repeatable, and customizable way.

Installation

Install with the Julia package manager Pkg, just like any other registered Julia package:

pkg> add PkgTemplates  # Press ']' to enter the Pkg REPL mode.

or

julia> using Pkg; Pkg.add("PkgTemplates")

Usage

Interactive Generation

You can fully customize your package interactively with:

using PkgTemplates
Template(interactive=true)("MyPkg")

Manual creation

Creating a Template is as simple as:

using PkgTemplates
tpl = Template()

The no-keywords constructor assumes the existence of some preexisting Git configuration (set with git config --global):

  • user.name: Your real name, e.g. John Smith.
  • user.email: Your email address, eg. [email protected].
  • github.user: Your GitHub username: e.g. john-smith.

Once you have a Template, use it to generate a package:

tpl("MyPkg")

However, it's probably desirable to customize the template to your liking with various options and plugins:

tpl = Template(;
    dir="~/code",
    plugins=[
        Git(; manifest=true, ssh=true),
        Codecov(),
        TravisCI(; x86=true),
        Documenter{TravisCI}(),
    ],
)

For a much more detailed overview, please see the User Guide documentation.

Contributing

Issues and pull requests are welcome! New contributors should make sure to read the ColPrac Contributor Guide. For some more PkgTemplates-specific tips, see the Developer Guide documentation.

More Repositories

1

BenchmarkTools.jl

A benchmarking framework for the Julia language
Julia
593
star
2

Coverage.jl

Take Julia code coverage and memory allocation results, do useful things with them
Julia
171
star
3

PkgBenchmark.jl

Easy benchmark tracking for packages
Julia
127
star
4

LocalCoverage.jl

Trivial functions for working with coverage for packages locally.
Julia
69
star
5

BaseBenchmarks.jl

A collection of Julia benchmarks available for CI tracking from the JuliaLang/julia repository
Julia
42
star
6

PackageEvaluator.jl

A tool to evaluate the quality of Julia packages.
Julia
35
star
7

Nanosoldier.jl

A package for running JuliaCI services on MIT's Nanosoldier cluster
Julia
29
star
8

PkgEval.jl

Keeping tabs on the julia ecosystem
Julia
27
star
9

julia-buildbot

Buildbot configuration for build.julialang.org
Python
18
star
10

Appveyor.jl

Julia Appveyor script
PowerShell
14
star
11

GCBenchmarks

Julia
10
star
12

pkg.julialang.org

Julia's package listing
HTML
10
star
13

NanosoldierReports

A repository for human-readable reports generated by the Nanosoldier.jl CI system.
Julia
10
star
14

BaseTestNext.jl

Provides the Base.Test functionality added in Julia v0.5
Julia
9
star
15

julia-buildkite

Buildkite configuration files for Base Julia CI
Julia
8
star
16

CoverageTools.jl

Core functionality for processing coverage information in Julia
Julia
7
star
17

DepotCompactor.jl

Julia
5
star
18

BaseBenchmarkReports

A repository for human-readable reports generated by JuliaLang/julia's CI performance tracking system
5
star
19

julia-buildkite-plugin

Buildkite plugin to install Julia for use in a pipeline.
Shell
4
star
20

install-julia

Julia installer shell script for CI
Shell
4
star
21

CoverageBase.jl

Measuring internal test coverage of the Julia programming language
Julia
4
star
22

rootfs-images

Rootfs images used in Base Julia CI
Julia
4
star
23

BuildkiteUtils.jl

Utilities for working with Buildkite
Julia
3
star
24

julia-snap

Snap setup for Julia
Julia
2
star
25

external-buildkite-buildkite-plugin

Download Buildkite configuration files from an external repository.
Shell
2
star
26

sandboxed-buildkite-agent

Julia
2
star
27

BaseTestDeprecated.jl

Provides the Base.Test functionality removed in Julia v0.5
Julia
2
star
28

buildkite-testing

Testing repository for trying things out with buildkite
Julia
1
star
29

julia-test-buildkite-plugin

Buildkite plugin to test a Julia package.
Shell
1
star
30

freebsd-packaging-bot

Setup files for the FreeBSD Julia packaging buildbot
Shell
1
star