aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily <just.one.man@yandex.ru>2018-10-23 00:40:43 +0300
committerVasily <just.one.man@yandex.ru>2018-10-23 00:40:43 +0300
commit67574753115acc81b028cccd558c92ddd58052bf (patch)
tree009bf4a1c21a85938142cb6df4875b3667a07a2e
parentb2305295afc11cf9c950552b4d8851ea3e46c867 (diff)
Now build produces seeminly workable debian package
-rw-r--r--Emby.Server.Implementations/Emby.Server.Implementations.csproj1
-rwxr-xr-xdebian/rules3
2 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csproj
index 66dd80dbe..83120a46d 100644
--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj
+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj
@@ -21,6 +21,7 @@
<ItemGroup>
<PackageReference Include="Emby.XmlTv" Version="1.0.18" />
+ <PackageReference Include="Mono.Posix.NETStandard" Version="1.0.0" />
<PackageReference Include="ServiceStack.Text.Core" Version="5.2.0" />
<PackageReference Include="sharpcompress" Version="0.22.0" />
<PackageReference Include="SimpleInjector" Version="4.3.0" />
diff --git a/debian/rules b/debian/rules
index 2370bc32a..107394fbe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,8 @@ override_dh_auto_test:
override_dh_clistrip:
override_dh_auto_build:
- dotnet build --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln --output='$(CURDIR)/usr/lib/emby-server/bin'
+# dotnet build --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln --output='$(CURDIR)/usr/lib/emby-server/bin'
+ dotnet publish --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln --output='$(CURDIR)/usr/lib/emby-server/bin'
override_dh_auto_clean:
dotnet clean --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln