Skip to content

Commit

Permalink
More makefile docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 5, 2024
1 parent 10b4434 commit da8659e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/rust.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ Euler Rust Implementation
:start-line: 2
:end-before: Problems Solved

Usage
-----

.. highlight:: make

This folder contains a Makefile with several recipes, most of which are aliases to ``cargo`` commands.
This facilitates the root Makefile dispatching tasks to each language, many of which have more complex
build or test processes.

.. make:target:: test
Alias for ``cargo test``.

.. make:target:: test_auto
Runs tests in parallel with one less thread than you have CPUs. Alias for ``cargo test -j``.

.. make:target:: test_%
Runs tests in parallel with the specified number of threads. Alias for ``cargo test -j $*``.

.. make:target:: clean
Alias for ``cargo clean``.

Problems Solved
---------------

Expand Down

0 comments on commit da8659e

Please sign in to comment.