Skip to content

gregerspoulsen/artisan_tools

Repository files navigation

Artisan Tools

Tools to help the software artisan make his craft a breeze.

Installation

Artisan Tools can be installed from source using pip:

pip install git+https://github.com/gregerspoulsen/artisan_tools.git
⚡ CLI only works if installed with pip>23.0

Usage

To use artisan tools in your project create a structure like:

project/
  + artisan.yaml
  + RELEASE

artisan.yaml can in most cases be left empty when default settings are sufficient. RELEASE should contain the expected release version of the project (e.g. 1.3.5).

For more information have a look at https://readthedocs.org/projects/artisan-tools/.

Development

Ordinary tasks can be performed using just configured in justfile.

Before committing and pushing you should run:

just pre-commit

This will run code formatting linting and tests. To run a specific step like testing use:

just test

To force a re-build of the container (e.g. for dependency changes):

just env

To run a command in the development environment (in this case bash):

just run bash

Documentation

To build the documentation:

just doc

Releasing

The pipeline automatically checks pull requests for unique and proper semver version. To update the version when preparing a pull-request use

just bump <major|minor|patch>

When the pull-request is merged to master the release will automatically be tagged with the version in the file VERSION.

Rust Port Notes

just build-rs just run-rs version update just run-rs version get

About

Tools to make software artisanship a breeze

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors