File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- using System . Diagnostics ;
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Diagnostics ;
4
+ using System . IO ;
5
+ using System . Linq ;
2
6
3
7
namespace Cleipnir . ResilientFunctions . Cli ;
4
8
@@ -18,7 +22,7 @@ private static int Main(string[] args)
18
22
var updateVersion = args [ 0 ] == "all" || args [ 0 ] == "update_version" ;
19
23
var pack = args [ 0 ] == "all" || args [ 0 ] == "pack" ;
20
24
21
- var root = $ "{ Environment . GetFolderPath ( Environment . SpecialFolder . UserProfile ) } /Repos/Cleipnir.ResilientFunctions";
25
+ var root = $ "C:/Repos/Cleipnir.ResilientFunctions" ; //mac_os $" {Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/Repos/Cleipnir.ResilientFunctions";
22
26
var output = Path . GetFullPath ( @"./nugets" ) ;
23
27
24
28
if ( Directory . Exists ( output ) )
@@ -92,7 +96,7 @@ private static void PackProject(string projectPath, string outputPath)
92
96
p . StartInfo . RedirectStandardOutput = true ;
93
97
p . StartInfo . RedirectStandardError = true ;
94
98
p . StartInfo . UseShellExecute = false ;
95
- p . StartInfo . FileName = "/usr/bin/dotnet" ;
99
+ p . StartInfo . FileName = @"C:\Program Files\dotnet\dotnet.exe" ; //mac_os "/usr/bin/dotnet";
96
100
p . StartInfo . WorkingDirectory = projectPath ;
97
101
p . StartInfo . Arguments = $ "dotnet pack -c Release /p:ContinuousIntegrationBuild=true -o { outputPath } ";
98
102
p . Start ( ) ;
You can’t perform that action at this time.
0 commit comments