Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: csharp
solution: slackseNET.sln
mono: none
dotnet: 2.1.4
dotnet: 7.0.0
script:
- dotnet restore
- dotnet build -c Release
Expand Down
4 changes: 2 additions & 2 deletions slackseNET.Tests/slackseNET.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="moq" Version="4.10.0" />
<PackageReference Include="SlackAPI" Version="1.0.9" />
<PackageReference Include="SlackAPI" Version="1.1.14" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions slackseNET/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM microsoft/dotnet:2.1-sdk AS build-env
FROM microsoft/dotnet:7.0-sdk AS build-env
WORKDIR /app

COPY *.csproj nuget.config ./
RUN dotnet restore
COPY . ./
RUN dotnet publish -c Release -o out

FROM microsoft/dotnet:2.1-runtime
FROM microsoft/dotnet:7.0-runtime
WORKDIR /app
COPY --from=build-env /app/out ./
COPY SVETSE/megahal ./SVETSE/megahal
Expand Down
4 changes: 2 additions & 2 deletions slackseNET/slackseNET.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<RuntimeIdentifiers>win10-x64;osx.10.12-x64;ubuntu-x64;debian-x64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<!-- <PackageReference Include="Neo4j.Driver" Version="1.5.2" /> -->
<PackageReference Include="SlackAPI" Version="1.0.9" />
<PackageReference Include="SlackAPI" Version="1.1.14" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.0.0" />
Expand Down