File tree Expand file tree Collapse file tree 8 files changed +12
-188
lines changed
common/Addins/Cake.DotNetFormat Expand file tree Collapse file tree 8 files changed +12
-188
lines changed Original file line number Diff line number Diff line change 1
1
<component name =" ProjectRunConfigurationManager" >
2
2
<configuration default =" false" name =" Code Format" type =" DotNetProject" factoryName =" .NET Project" >
3
3
<option name =" EXE_PATH" value =" $PROJECT_DIR$/../run/build.exe" />
4
- <option name =" PROGRAM_PARAMETERS" value =" --target=CodeFormat" />
4
+ <option name =" PROGRAM_PARAMETERS" value =" --target=CodeFormat --verbosity=diagnostic " />
5
5
<option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/.." />
6
6
<option name =" PASS_PARENT_ENVS" value =" 1" />
7
7
<option name =" USE_EXTERNAL_CONSOLE" value =" 0" />
17
17
<option name =" Build" />
18
18
</method >
19
19
</configuration >
20
- </component >
20
+ </component >
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<ItemGroup >
3
- <PackageReference Include =" Cake.Common" Version =" 2.0 .0" />
3
+ <PackageReference Include =" Cake.Common" Version =" 2.1 .0" />
4
4
<PackageReference Include =" Cake.Compression" Version =" 0.2.6" />
5
- <PackageReference Include =" Cake.Frosting" Version =" 2.0 .0" />
6
- <PackageReference Include =" Cake.Incubator" Version =" 6 .0.0" />
5
+ <PackageReference Include =" Cake.Frosting" Version =" 2.1 .0" />
6
+ <PackageReference Include =" Cake.Incubator" Version =" 7 .0.0" />
7
7
8
- <PackageReference Include =" Cake.Docker" Version =" 1.0.0 " />
8
+ <PackageReference Include =" Cake.Docker" Version =" 1.1.1 " />
9
9
10
10
</ItemGroup >
11
11
</Project >
Original file line number Diff line number Diff line change 1
- using Common . Addins . Cake . DotNetFormat ;
1
+ using Cake . Common . Tools . DotNet . Format ;
2
2
using Common . Utilities ;
3
3
4
4
namespace Build . Tasks ;
@@ -10,14 +10,9 @@ public class CodeFormat : FrostingTask<BuildContext>
10
10
public override void Run ( BuildContext context )
11
11
{
12
12
context . Information ( "Code format..." ) ;
13
- context . DotNetFormat ( new DotNetFormatSettings
13
+ context . DotNetFormat ( Paths . Build . FullPath ) ;
14
+ context . DotNetFormat ( Paths . Src . FullPath , new DotNetFormatSettings
14
15
{
15
- Workspace = Paths . Build
16
- } ) ;
17
-
18
- context . DotNetFormat ( new DotNetFormatSettings
19
- {
20
- Workspace = Paths . Src ,
21
16
Exclude = new List < string > { " **/AddFormats/" }
22
17
} ) ;
23
18
}
Original file line number Diff line number Diff line change 4
4
<RootNamespace >Chores</RootNamespace >
5
5
</PropertyGroup >
6
6
<ItemGroup >
7
- <ProjectReference Include =" ..\common\common.csproj" />
7
+ <ProjectReference Include =" ..\common\common.csproj" />
8
8
</ItemGroup >
9
9
<ItemGroup >
10
- <PackageReference Include =" Cake.Json" Version =" 6 .0.1" />
10
+ <PackageReference Include =" Cake.Json" Version =" 7 .0.1" />
11
11
</ItemGroup >
12
12
</Project >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
<ProjectReference Include =" ..\common\common.csproj" />
8
8
</ItemGroup >
9
9
<ItemGroup >
10
- <PackageReference Include =" Cake.Git" Version =" 1.1 .0" />
10
+ <PackageReference Include =" Cake.Git" Version =" 2.0 .0" />
11
11
<PackageReference Include =" Cake.Wyam2" Version =" 3.0.0-rc2" />
12
12
</ItemGroup >
13
13
</Project >
You can’t perform that action at this time.
0 commit comments