Skip to content

Commit

Permalink
MSS-100 Adjusted plugin to exclude dlls that are part of RDMP core (r…
Browse files Browse the repository at this point in the history
…educing size). Added linux binaries to plugin
  • Loading branch information
tznind committed Oct 18, 2019
1 parent ce11ea5 commit 4149e48
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

...

## [1.3.1] 2019-10-18

### Added

- Added linux x64 binaries to enable plugin to work from CLI engines running in linux hosts (e.g. data load engine)

## Removed

- Removed dlls that are already part of RDMP core application (e.g. Rdmp.Core.dll) from plugin archive

## [1.3.0] 2019-09-13

## Changed
Expand Down Expand Up @@ -36,7 +46,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial commit from private repo


[Unreleased]: https://github.com/HicServices/RdmpDicom/compare/v1.3.0...develop
[Unreleased]: https://github.com/HicServices/RdmpDicom/compare/v1.3.1...develop
[1.3.1]: https://github.com/HicServices/RdmpDicom/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/HicServices/RdmpDicom/compare/v1.1.0...v1.3.0
[1.1.0]: https://github.com/HicServices/RdmpDicom/compare/v1.0.2...v1.1.0
[1.0.2]: https://github.com/HicServices/RdmpDicom/compare/1581c5ae3a12db1873f4cf1a930215750ad2ae14...v1.0.2
Expand Down
11 changes: 9 additions & 2 deletions Rdmp.Dicom.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@
</dependencies>
</metadata>
<files>
<file src="Plugin\net461\bin\$configuration$\net461\*" exclude="**/net461.dll" target="lib\net461" />
<file src="Plugin\netcoreapp2.2\bin\$configuration$\netcoreapp2.2\win-x64\publish\*" exclude="**/netcoreapp2.2.dll" target="lib\netcoreapp2.2\win\" />
<file src="Plugin\net461\bin\$configuration$\net461\win-x64\publish\*"
exclude="**/net461.dll;**\BadMedicine.Core.dll;**\FAnsi.*;**\MapsDirectlyToDatabaseTable.dll;**\MySql.Data.dll;**\Oracle.ManagedDataAccess.dll;**\Rdmp.Core.dll;**\NPOI.*;**\Renci.*;**\MathNet.Numerics.dll*;**\Rdmp.UI.dll;**\ScintillaNET.dll;**\ReusableUIComponents.dll;**\ObjectListView.dll;**\WeifenLuo.WinFormsUI.Docking*"
target="lib\net461" />
<file src="Plugin\netcoreapp2.2\bin\$configuration$\netcoreapp2.2\win-x64\publish\*"
exclude="**\Plugin.dll;**\BadMedicine.Core.dll;**\FAnsi.*;**\MapsDirectlyToDatabaseTable.dll;**\MySql.Data.dll;**\Oracle.ManagedDataAccess.dll;**\Rdmp.Core.dll;**\NPOI.*;**\Renci.*;**\MathNet.Numerics.dll*"
target="lib\netcoreapp2.2\win\" />
<file src="Plugin\netcoreapp2.2\bin\$configuration$\netcoreapp2.2\linux-x64\publish\*"
exclude="**\Plugin.dll;**\BadMedicine.Core.dll;**\FAnsi.*;**\MapsDirectlyToDatabaseTable.dll;**\MySql.Data.dll;**\Oracle.ManagedDataAccess.dll;**\Rdmp.Core.dll;**\NPOI.*;**\Renci.*;**\MathNet.Numerics.dll*"
target="lib\netcoreapp2.2\linux\" />
</files>
</package>
6 changes: 3 additions & 3 deletions SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
[assembly: AssemblyCulture("")]

// These should be replaced with correct values by the release process
[assembly: AssemblyVersion("1.3.0")]
[assembly: AssemblyFileVersion("1.3.0")]
[assembly: AssemblyInformationalVersion("1.3.0")]
[assembly: AssemblyVersion("1.3.1")]
[assembly: AssemblyFileVersion("1.3.1")]
[assembly: AssemblyInformationalVersion("1.3.1")]
6 changes: 5 additions & 1 deletion rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,13 @@
version = File.open('version') {|f| f.readline}
puts "version: #{version}"

Dir.chdir('Plugin/net461/') do
sh "dotnet publish --runtime win-x64 -c #{args.config} --self-contained false"
end

Dir.chdir('Plugin/netcoreapp2.2/') do
sh "dotnet publish --runtime win-x64 -c #{args.config}"
sh "dotnet publish --runtime win-x64 -c #{args.config} --self-contained false"
sh "dotnet publish --runtime linux-x64 -c #{args.config} --self-contained false"
end

#Packages the plugin which will be loaded into RDMP
Expand Down

0 comments on commit 4149e48

Please sign in to comment.