mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 17:50:08 +01:00
chore: reformat
This commit is contained in:
parent
cad40720a6
commit
f147295418
5 changed files with 8 additions and 5 deletions
|
|
@ -10,7 +10,10 @@ args: let
|
||||||
cilib = {
|
cilib = {
|
||||||
inherit (impl) helpers modules mkPipeline mkJobRun mkJobDeps mkJobPatched;
|
inherit (impl) helpers modules mkPipeline mkJobRun mkJobDeps mkJobPatched;
|
||||||
utils = import ./utils.nix {inherit pkgs;};
|
utils = import ./utils.nix {inherit pkgs;};
|
||||||
version = trimWith { start = true; end = true; } (builtins.readFile ./VERSION);
|
version = trimWith {
|
||||||
|
start = true;
|
||||||
|
end = true;
|
||||||
|
} (builtins.readFile ./VERSION);
|
||||||
|
|
||||||
mkCI = config:
|
mkCI = config:
|
||||||
(evalModules {
|
(evalModules {
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ in rec {
|
||||||
unsetOr = typ:
|
unsetOr = typ:
|
||||||
(types.either unsetType typ)
|
(types.either unsetType typ)
|
||||||
// {
|
// {
|
||||||
description = typ.description;
|
inherit (typ) description;
|
||||||
};
|
};
|
||||||
mkUnsetOption = opts:
|
mkUnsetOption = opts:
|
||||||
mkOption (opts
|
mkOption (opts
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ in {
|
||||||
yamlfmt.enable = true;
|
yamlfmt.enable = true;
|
||||||
};
|
};
|
||||||
settings.formatter = {
|
settings.formatter = {
|
||||||
yamlfmt.excludes = ["templates/nix-gitlab-ci.yml"];
|
yamlfmt.excludes = ["templates/nix-gitlab-ci.yml" ".gitlab-ci.yml"];
|
||||||
mdformat.command = let
|
mdformat.command = let
|
||||||
pkg = pkgs.python3.withPackages (p: [
|
pkg = pkgs.python3.withPackages (p: [
|
||||||
p.mdformat
|
p.mdformat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue