File tree 4 files changed +17
-16
lines changed
4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 1
1
<LICENSE>
2
- Copyright (C) 2012-2018 de4dot@gmail.com
2
+ Copyright (C) 2012-2019 de4dot@gmail.com
3
3
4
4
Permission is hereby granted, free of charge, to any person obtaining
5
5
a copy of this software and associated documentation files (the
Original file line number Diff line number Diff line change @@ -4,13 +4,10 @@ msbuild -v:m -restore -t:Build -p:Configuration=Release -p:TargetFramework=net35
4
4
del Release\net35\*.pdb Release\net35\*.xml Release\net35\Test.Rename.* || goto :error
5
5
6
6
dotnet publish -c Release -f netcoreapp2.1 -o publish-netcoreapp2.1 de4dot || goto :error
7
- del publish-netcoreapp2.1\*.pdb || goto :error
8
- del publish-netcoreapp2.1\*.xml || goto :error
9
- dotnet publish -c Release -f netcoreapp3.0 -o publish-netcoreapp3.0 de4dot || goto :error
10
- del publish-netcoreapp3.0\*.pdb || goto :error
11
- del publish-netcoreapp3.0\*.xml || goto :error
7
+ del publish-netcoreapp2.1\*.pdb publish-netcoreapp2.1\*.xml || goto :error
12
8
13
- exit /b 0
9
+ dotnet publish -c Release -f netcoreapp3.0 -o publish-netcoreapp3.0 de4dot || goto :error
10
+ del publish-netcoreapp3.0\*.pdb publish-netcoreapp3.0\*.xml || goto :error
14
11
15
12
goto :EOF
16
13
Original file line number Diff line number Diff line change 28
28
<PackageReference Include =" System.Drawing.Common" Version =" 4.5.1" Condition =" '$(De4DotNetFramework)' != 'true' " />
29
29
</ItemGroup >
30
30
31
- <ItemGroup >
32
- <LicenseFiles Include =" $(SolutionDir)\LICENSE.*" />
33
- <LicenseFiles Include =" $(SolutionDir)\COPYING" />
34
- </ItemGroup >
35
-
36
- <Target Name =" CopyLicenseFiles" AfterTargets =" AfterBuild" >
37
- <Copy SourceFiles =" @(LicenseFiles)" DestinationFolder =" $(TargetDir)LICENSES" />
38
- </Target >
39
-
40
31
</Project >
Original file line number Diff line number Diff line change 12
12
<ProjectReference Include =" ..\de4dot.cui\de4dot.cui.csproj" />
13
13
</ItemGroup >
14
14
15
+ <ItemGroup >
16
+ <LicenseFiles Include =" $(MSBuildThisFileDirectory)\..\LICENSE.*" />
17
+ <LicenseFiles Include =" $(MSBuildThisFileDirectory)\..\COPYING" />
18
+ </ItemGroup >
19
+
20
+ <Target Name =" CopyLicenseFiles_AfterBuild" AfterTargets =" AfterBuild" >
21
+ <Copy SourceFiles =" @(LicenseFiles)" DestinationFolder =" $(TargetDir)LICENSES" />
22
+ </Target >
23
+
24
+ <Target Name =" CopyLicenseFiles_Publish" AfterTargets =" Publish" >
25
+ <Copy SourceFiles =" @(LicenseFiles)" DestinationFolder =" $(PublishDir)LICENSES" />
26
+ </Target >
27
+
15
28
</Project >
You can’t perform that action at this time.
0 commit comments