Use Brainshit NuGet server for DasConzoleCore
This commit is contained in:
parent
f058cb9894
commit
00686311d4
17
Makefile
17
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../../../DasConzole/src/DasConzoleCore/DasConzoleCore.csproj" />
|
||||
<PackageReference Include="DasConzole.Core" Version="0.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Reference in New Issue