• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

loresoft / DotNet.Property / 6719270641

01 Nov 2023 11:49AM CUT coverage: 55.357%. Remained the same
6719270641

Pull #93

github

web-flow
Merge 57dc32590 into b83870101
Pull Request #93: Bump xunit from 2.5.0 to 2.6.0

28 of 50 branches covered (0.0%)

Branch coverage included in aggregate %.

65 of 118 relevant lines covered (55.08%)

3.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/DotNet.Property/Program.cs
1
using System;
2

3
namespace DotNet.Property
4
{
5
    public class Program
6
    {
7
        static int Main(string[] args)
8
        {
9
            if (args.Length < 2)
×
10
            {
11
                OutputVersion();
×
12
                OutputUsage();
×
13

14
                return 1;
×
15
            }
16

17
            try
18
            {
19
                var updater = new ProjectUpdater();
×
20
                updater.Update(args, Environment.CurrentDirectory);
×
21
            }
×
22
            catch (Exception ex)
×
23
            {
24
                Console.Error.WriteLine(ex.ToString());
×
25
                return 1;
×
26
            }
27

28
            return 0;
×
29
        }
×
30

31
        private static void OutputVersion()
32
        {
33
            Console.WriteLine(".NET Core command-line (CLI) tool to update project properties");
×
34
        }
×
35

36
        private static void OutputUsage()
37
        {
38
            Console.WriteLine();
×
39
            Console.WriteLine("Usage: dotnet property <project> <property>:<value>");
×
40
            Console.WriteLine();
×
41
            Console.WriteLine("Example:");
×
42
            Console.WriteLine("  dotnet property \"**/version.props\" Version:\"1.0.0.3\" Copyright:\"Copyright 2018 LoreSoft\"");
×
43
        }
×
44
    }
45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc