Use Brainshit NuGet server for DasConzoleCore

This commit is contained in:
Lucidiot 2018-09-30 21:41:31 +02:00
parent f058cb9894
commit 00686311d4
No known key found for this signature in database
GPG Key ID: AE3F7205692FA205
4 changed files with 31 additions and 26 deletions

View File

@ -1,25 +1,18 @@
run: require-dasconzole
run:
cd src/LyokoCMD.CommandLine && dotnet run
debug: require-dasconzole
debug:
cd src/LyokoCMD.CommandLine && dotnet run -- --debug
all: require-dasconzole
all:
dotnet build
clean:
rm -rf {test/LyokoCMD.Sim.Tests,src/LyokoCMD.{Sim,CommandLine,Xana}}/bin
tests: require-dasconzole
tests:
dotnet test test/LyokoCMD.Sim.Tests/LyokoCMD.Sim.Tests.csproj
restore: require-dasconzole
restore:
dotnet restore
require-dasconzole:
@if [ ! -d "../DasConzole/src/DasConzoleCore" ]; then echo "Missing DasConzoleCore dependency in ../DasConzole/src/DasConzoleCore. Use make clone to clone the DasConzole repository in the parent folder."; exit 1; fi
clone:
git clone https://gitlab.com/Lucidiot/DasConzole ../DasConzole

9
nuget.config Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="defaultPushSource" value="Brainshit" />
</config>
<packageSources>
<add key="Brainshit" value="https://nuget.brainshit.fr" />
</packageSources>
</configuration>

View File

@ -1,13 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../LyokoCMD.Sim/LyokoCMD.Sim.csproj" />
<ProjectReference Include="../../../DasConzole/src/DasConzoleCore/DasConzoleCore.csproj" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../LyokoCMD.Sim/LyokoCMD.Sim.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DasConzole.Core" Version="0.1.0" />
</ItemGroup>
</Project>

View File

@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../../DasConzole/src/DasConzoleCore/DasConzoleCore.csproj" />
<PackageReference Include="DasConzole.Core" Version="0.1.0" />
</ItemGroup>
</Project>