generate README from docs #2

Merged
shimun merged 8 commits from readme into master 2020-07-26 20:44:54 +02:00
Showing only changes of commit 453a218efa - Show all commits

View File

@ -1,7 +1,17 @@
kind: pipeline
name: build
name: default
steps:
- name: fmt
image: rust:1.43.0
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
- name: readme
image: msrd0/cargo-readme@sha256:2b916451e576cda54f1e02703fa092b9d5af95bcf48426a1ef42872a19467fd3
commands:
- cargo readme > ~README.md
- cmp -s README.md ~README.md || (printf "README.md need to be updated:\n"; cat ~README.md; exit 1)
- name: test
image: rust:1.43.0
commands:
@ -21,18 +31,4 @@ steps:
- cargo publish --all-features
when:
event: tag
---
kind: pipeline
name: style
steps:
- name: fmt
image: rust:1.43.0
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
- name: readme
image: msrd0/cargo-readme@sha256:2b916451e576cda54f1e02703fa092b9d5af95bcf48426a1ef42872a19467fd3
commands:
- cargo readme > ~README.md
- cmp -s README.md ~README.md || (printf "README.md need to be updated:\n"; cat ~README.md; exit 1)
depends_on: ["fmt", "test", "readme"]