summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-01-19 11:22:31 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-01-19 12:19:47 +0100
commitc4f55892fc75a5c23abe97e5acf42c6a14f5574a (patch)
treec558aef797e274fec6881c98f27f29cdec108f4d /.gitlab-ci.yml
parent0f63b13d655cea6d7739150ddfa1b118f3c3f33f (diff)
sq: Generate usage documentation in build script.
- Unfortunately, we still need to commit the result. Once the external doc feature is merged, we can avoid this. See https://github.com/rust-lang/rust/issues/44732.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea7db163..2c7038a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,8 +28,7 @@ bullseye:
- cargo test --all --exclude sequoia-openpgp-ffi
- make
- if ! git diff --quiet Cargo.lock ; then echo "Cargo.lock changed. Please add the change to the corresponding commit." ; false ; fi
- - make -C sq update-usage
- - if ! git diff --quiet sq ; then echo "Please run 'make -C sq update-usage' and commit the result." ; false ; fi
+ - if ! git diff --quiet sq ; then echo "Please commit the changes to sq/src/sq-usage.rs." ; false ; fi
- make -C sqv update-usage
- if ! git diff --quiet sqv ; then echo "Please run 'make -C sqv update-usage' and commit the result." ; false ; fi
- if ! git diff --quiet ; then echo "The build changed the source. Please investigate." ; git diff ; fi