@@ -101,12 +101,6 @@ path Run a script from a file or resource
101
101
https://clojure.org/reference/repl_and_main" ) ;
102
102
}
103
103
104
- static void PrintVersion ( )
105
- {
106
- Console . WriteLine ( $ "ClojureCLR CLI Version: { Version } ") ;
107
- }
108
-
109
-
110
104
static void Warn ( string message ) => Console . Error . WriteLine ( message ) ;
111
105
112
106
//static void EndExecution(int exitCode, string message)
@@ -117,6 +111,11 @@ static void PrintVersion()
117
111
118
112
//static void EndExecution(int exitCode) => Environment.Exit(exitCode);
119
113
114
+ static void PrintVersion ( )
115
+ {
116
+ Console . WriteLine ( $ "ClojureCLR CLI Version: { Version } ") ;
117
+ }
118
+
120
119
//static readonly string Version = typeof(Program).Assembly.GetName().Version!.ToString();
121
120
private static string _version = string . Empty ;
122
121
@@ -143,8 +142,6 @@ static string Version
143
142
}
144
143
}
145
144
146
-
147
-
148
145
static bool IsNewerFile ( string filename1 , string filename2 )
149
146
{
150
147
if ( ! File . Exists ( filename1 ) ) return false ;
@@ -160,8 +157,6 @@ static string GetStringHash(string s)
160
157
return BitConverter . ToString ( hash ) ;
161
158
}
162
159
163
-
164
-
165
160
static int Main ( string [ ] args )
166
161
{
167
162
var cliArgs = CommandLineParser . Parse ( args ) ;
@@ -454,7 +449,7 @@ static int Main(string[] args)
454
449
{
455
450
// & $JavaCmd -XX:-OmitStackTraceInFastThrow @JavaOpts @JvmCacheOpts @JvmOpts "-Dclojure.basis=$BasisFile" -classpath "$CP;$InstallDir/exec.jar" clojure.main -m clojure.run.exec @ClojureArgs
456
451
457
- Console . WriteLine ( "Starting exec/tool" ) ;
452
+ // Console.WriteLine("Starting exec/tool");
458
453
459
454
using Process process = new ( ) ;
460
455
SetInitialProcessParameters ( process , installDir ) ;
@@ -503,7 +498,7 @@ static int Main(string[] args)
503
498
//process.Start();
504
499
//process.WaitForExit();
505
500
506
- Console . WriteLine ( "Starting main" ) ;
501
+ // Console.WriteLine("Starting main");
507
502
508
503
using Process process = new ( ) ;
509
504
SetInitialProcessParameters ( process , installDir ) ;
0 commit comments