Skip to content

Commit a3363f1

Browse files
author
lemastero
committed
[ETCM-141] compile depends on scalafmt
1 parent fff118b commit a3363f1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.buildkite/pipeline.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,16 @@ in
3939
];
4040
};
4141

42+
scalafmt = commonAttrs // {
43+
label = "scalafmtCheck";
44+
command = ''
45+
nix-shell --run '$SBT scalafmtCheck'
46+
'';
47+
};
48+
4249
compile = commonAttrs // {
4350
label = "compile everything";
51+
dependsOn = [ scalafmt ];
4452
command = ''
4553
nix-shell --run '$SBT compile-all'
4654
'';
@@ -54,14 +62,6 @@ in
5462
'';
5563
};
5664

57-
scalafmt = commonAttrs // {
58-
dependsOn = [ compile ];
59-
label = "scalafmtCheck";
60-
command = ''
61-
nix-shell --run '$SBT scalafmtCheck'
62-
'';
63-
};
64-
6565
test-unit = commonAttrs // {
6666
dependsOn = [ compile ];
6767
label = "unit tests";

0 commit comments

Comments
 (0)