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

https://github.com/guangie88/rs-cider

Dockerfile to build Rust + Cargo with useful formatting, linting and coverage tools in stable, beta and nightly
https://github.com/guangie88/rs-cider

cicd dockerfile rust

Last synced: 26 days ago
JSON representation

Dockerfile to build Rust + Cargo with useful formatting, linting and coverage tools in stable, beta and nightly

Awesome Lists containing this project

README

          

# `rs-cider`

Dockerfile to build Rust + Cargo with useful formatting, linting and coverage
tools in stable, beta and nightly.

Docker Hub link:

[![Build Status](https://travis-ci.org/guangie88/rs-cider.svg?branch=master)](https://travis-ci.org/guangie88/rs-cider)

## Description

The purpose of the Docker image is to create a "Swiss Army knife" for automated
CI/CD purposes for Rust environment.

## Included stuff

- `rustfmt-preview` (`cargo fmt`) on all stable, beta, nightly

- Installed via `rustup component add rustfmt-preview`
- Usage:
- `cargo fmt`
- `cargo +beta fmt`
- `cargo +nightly fmt`
- `cargo clippy` only on nightly

- Installed via `rustup component add clippy`
- `cargo clippy`
- `cargo tarpaulin` via stable
- Installed via `cargo install cargo-tarpaulin`
- `cargo tarpaulin`
- `diesel` via stable
- Installed via `cargo install diesel`
- `diesel`

## Fun fact

The short form `rs-cider` is actually a
[_portmanteau_](https://en.wikipedia.org/wiki/Portmanteau) for Rust
**CI**/C**D**-**er**, where CI/CD stands for continuous integration and
continuous delivery, and the "-er" is similar to do-er, play-er, mak-er, etc.