An open API service indexing awesome lists of open source software.

https://github.com/compas-dev/compas_invocations2

Automation of (opinionated) dev tasks
https://github.com/compas-dev/compas_invocations2

Last synced: 14 days ago
JSON representation

Automation of (opinionated) dev tasks

Awesome Lists containing this project

README

          

# compas_invocations2

[![pypi](https://img.shields.io/pypi/v/compas_invocations2.svg)](https://pypi.org/project/compas-invocations2/)

A collection of reusable pyinvoke tasks

## Usage

Import and add tasks to a collection in your project's `tasks.py` file:

import os
from invoke import Collection
from compas_invocations2 import style

ns = Collection(style.check, style.lint)
ns.configure(
{
"base_folder": os.path.dirname(__file__),
}
)

For a more complete example, check the [`tasks.py`](tasks.py) of this project.