Skip to content

sa-/mojo-template

Repository files navigation

mojo-template

Creates a mojo project with poetry to manage python dependencies. It also initializes a git repository.

Prerequisites

  • Mojo
  • Python
  • Poetry to manage the python virtual environment & packages
  • cookiecutter, which can be installed by running pip install cookiecutter

Usage

cookiecutter gh:sa-/mojo-template

When prompted, enter the package name with underscores (not dashes!)

Notes

In the makefile there are some useful commands

  • make run - Runs {{cookiecutter.package_name}}/main.mojo

  • make test - Runs test.mojo

  • make build - Creates a .mojopkg file in dist/

  • make clean - Deletes the dist/ folder

  • make fmt - Formats the project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published