File tree Expand file tree Collapse file tree
Nice3point.TUnit.Revit.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Nullable >enable</Nullable >
55 <LangVersion >latest</LangVersion >
6- <PlatformTarget >x64</PlatformTarget >
76 <ImplicitUsings >true</ImplicitUsings >
7+ <RuntimeIdentifier >win-x64</RuntimeIdentifier >
88 </PropertyGroup >
99
1010 <PropertyGroup Condition =" $(Configuration.Contains('R21'))" >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <UseWpf >true</UseWpf >
54 <OutputType >Exe</OutputType >
65 <Configurations >Debug R22;Debug R23;Debug R24;Debug R25;Debug R26</Configurations >
76 <Configurations >$(Configurations);Release R22;Release R23;Release R24;Release R25;Release R26</Configurations >
87 </PropertyGroup >
98
9+ <ItemGroup >
10+ <PackageReference Include =" Nice3point.Revit.Build.Tasks" Version =" 3.0.1" PrivateAssets =" all" />
11+ </ItemGroup >
12+
1013 <ItemGroup >
1114 <ProjectReference Include =" ..\Nice3point.TUnit.Revit\Nice3point.TUnit.Revit.csproj" />
1215 </ItemGroup >
Original file line number Diff line number Diff line change 1515 <RepositoryType >git</RepositoryType >
1616 <PackageIcon >images\PackageIcon.png</PackageIcon >
1717 <PackageLicenseFile >License.md</PackageLicenseFile >
18+ <PackageReadmeFile >Readme.md</PackageReadmeFile >
1819 </PropertyGroup >
1920
2021 <PropertyGroup >
3132 <ItemGroup >
3233 <None Include =" ..\.nuget\PackageIcon.png" PackagePath =" images\" Pack =" true" Visible =" false" />
3334 <None Include =" ..\License.md" PackagePath =" " Pack =" true" Visible =" false" />
35+ <None Include =" ..\..\Readme.md" PackagePath =" " Pack =" true" Visible =" false" />
3436 </ItemGroup >
3537
3638</Project >
Original file line number Diff line number Diff line change 1- sealed partial class Build
1+ using Nuke . Common . ProjectModel ;
2+
3+ sealed partial class Build
24{
35 Target Clean => _ => _
46 . OnlyWhenStatic ( ( ) => IsLocalBuild )
57 . Executes ( ( ) =>
68 {
9+ Project [ ] excludedProjects =
10+ [
11+ Solution . Build
12+ ] ;
13+
714 CleanDirectory ( ArtifactsDirectory ) ;
15+ foreach ( var project in Solution . AllProjects )
16+ {
17+ if ( excludedProjects . Contains ( project ) ) continue ;
818
9- foreach ( var project in Solution . AllProjects . Where ( project => project != Solution . Build ) )
1019 CleanDirectory ( project . Directory / "bin" ) ;
20+ CleanDirectory ( project . Directory / "obj" ) ;
21+ }
1122 } ) ;
1223
1324 static void CleanDirectory ( AbsolutePath path )
You can’t perform that action at this time.
0 commit comments