diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-08-13 19:04:36 +0000 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-08-26 17:57:39 +0200 |
commit | 89ceafaab5eabed056071c27138e4a2d5877df8d (patch) | |
tree | 97e84530863c75ff61d26b6ff191b01701973ad7 /README.md | |
parent | 764ff6ea9658e2a174252df231eff8a2a977a50f (diff) |
Remove Makefile, as cargo can be used now to build all the things
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 4 insertions, 22 deletions
@@ -43,28 +43,10 @@ give you a commandline application. ### Building -We use `make` to automate the build process. -Make sure to _not_ include some `-j 8` arguments, this will _not_ work as you -might think, as the rust compiler automatically parallelizes stuff and if you `make -j 8`, you end up with a pretty high load! - -There are several targets for each of the sub-crates in the Makefile: - -| Target | Multi | Purpose | Example | -| :--- | ----- | :--- | :--- | -| all | | Build everything, debug mode | `make all` | -| bin | | Build all binaries, debug mode | `make bin` | -| lib | | Build all libraries, debug mode | `make lib` | -| lib-test | | Test all libraries | `make lib-test` | -| imag-bin | | Build only the `imag` binary, debug mode | `make imag-bin` | -| clean | | Remove build artifacts | `make clean` | -| update | | Run `cargo update` | `make update` | -| check-outdated | | Run `cargo outdated` | `make check-outdated`| -| check | * | Run `cargo check` | `make check` | -| install | * | Build everything, release mode, install | `make install` | -| release | * | Build everything, release mode | `make release` | - -The `Multi` targets are callable for each sub-crate. For example you can call -`make imag-store-check` to run `cargo check` on the `imag-store` crate. +We use `cargo` for building all crates in this repository. +Make sure to use a recent `cargo`, at least one with workspace support. +Building all crates works with `cargo build --all`, building individual crates +by `cd`ing to their directory and calling `cargo build`. ### Running |