This package new
allows users to quickly set up a working template for a variety of Racket projects.
It works by adding a new raco
command raco new
that downloads a repo from
github.com/racket-templates and removing the git history
from the project so you get a fresh start.
Install it to use Racket Templates or use it as a template for your own raco
command line tool.
- Set your PATH environment variable
so you can use
raco
and other Racket command line functions. - either look for
new
in the DrRacket menu File|Package Manager, or run theraco
command:
raco pkg install new
raco new
will list the available templates.
raco new <template-name>
will set up the template in the current directory
raco new <template-name> <destination-dir>
will set up the template in the specified directory
Contibutions to both this tool and the collection of templates is welcome.
Contribute to this project by submitting a pull request or reporting an issue.
Discussion on Racket Discussions (Discourse forum/mailing list) or Racket Discord.
This package is free software, see LICENSE for more details.
By making a contribution, you are agreeing that your contribution is licensed under the Apache 2.0 license and the MIT license.
Clone this repo, and install locally;
git clone https://github.com/racket-templates/new.git
cd new
raco pkg install