[fractal] CI: create blank versions of configured files before lint
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] CI: create blank versions of configured files before lint
- Date: Sat, 27 Apr 2019 16:40:36 +0000 (UTC)
commit 7f351958876b3a4ab12f0b9fc11ce8270e59316c
Author: Christopher Davis <brainblasted disroot org>
Date: Mon Apr 22 01:58:57 2019 -0400
CI: create blank versions of configured files before lint
Required now that we have dynamically generated
sources.
.gitlab-ci.yml | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fac6a915..c4d2ee25 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,10 @@ check:
image: "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:stable"
stage: "check"
script:
+ # Create blank versions of our configured files
+ # so rustfmt does not yell about non-existent files or completely empty files
+ - echo -e "" >> fractal-gtk/src/config.rs
+ - echo -e "" >> fractal-gtk/src/static_resources.rs
- rustc -Vv && cargo -Vv
- cargo --version
- cargo fmt --all -- --check
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]