File tree Expand file tree Collapse file tree
EtcdTerminal.Infrastructure Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 dotnet-version : 10.0.x
2020
2121 - name : Restore solution
22- run : dotnet restore src/etcd-terminal .slnx
22+ run : dotnet restore src/EtcdTerminal .slnx
2323
2424 - name : Build solution
25- run : dotnet build src/etcd-terminal .slnx --configuration Release --no-restore
25+ run : dotnet build src/EtcdTerminal .slnx --configuration Release --no-restore
Original file line number Diff line number Diff line change 2222[Oo ]bj /
2323[Ll ]og /
2424[Ll ]ogs /
25+ /out
2526
2627# .NET Core
2728project.lock.json
Original file line number Diff line number Diff line change @@ -49,3 +49,33 @@ Example configuration:
4949 ]
5050}
5151```
52+
53+ ## Building
54+
55+ Requires [ .NET 10.0 SDK] ( https://dotnet.microsoft.com/download ) .
56+
57+ ``` bash
58+ dotnet build src/EtcdTerminal.slnx
59+ ```
60+
61+ ## Running the App
62+
63+ ### From source
64+
65+ ``` bash
66+ dotnet run --project src/EtcdTerminal.App/EtcdTerminal.App.csproj
67+ ```
68+
69+ ### Published binary
70+
71+ Create a self-contained deployment:
72+
73+ ``` bash
74+ dotnet publish src/EtcdTerminal.App/EtcdTerminal.App.csproj -c Release --self-contained false -o out
75+ ```
76+
77+ Run the published binary:
78+
79+ ``` bash
80+ ./out/etcd-terminal
81+ ```
Original file line number Diff line number Diff line change 99 <AssemblyName >etcd-terminal</AssemblyName >
1010 <RootNamespace >EtcdTerminal.App</RootNamespace >
1111 <OutputType >Exe</OutputType >
12+ <DebugType >none</DebugType >
1213 </PropertyGroup >
1314 <ItemGroup >
1415 <ProjectReference Include =" ..\EtcdTerminal\EtcdTerminal.csproj" />
Original file line number Diff line number Diff line change 44using Simplify . DI ;
55using Spectre . Console ;
66
7- const string SetBgCommand = "\x1b ]11;#252629 \x07 " ;
7+ const string SetBgCommand = "\x1b ]11;#0a0a0a \x07 " ;
88const string ResetBgCommand = "\x1b ]111\x07 " ;
99const string ShuttingDown = "[yellow]Shutting down...[/]" ;
1010const string PressAnyKeyRestart = "\n [grey]Press any key to restart...[/]" ;
Original file line number Diff line number Diff line change 33 <TargetFramework >net10.0</TargetFramework >
44 <ImplicitUsings >enable</ImplicitUsings >
55 <Nullable >enable</Nullable >
6+ <DebugType >none</DebugType >
67 </PropertyGroup >
78 <ItemGroup >
89 <ProjectReference Include =" ..\EtcdTerminal\EtcdTerminal.csproj" />
File renamed without changes.
Original file line number Diff line number Diff line change 33 <TargetFramework >net10.0</TargetFramework >
44 <ImplicitUsings >enable</ImplicitUsings >
55 <Nullable >enable</Nullable >
6+ <DebugType >none</DebugType >
67 </PropertyGroup >
78</Project >
You can’t perform that action at this time.
0 commit comments