File tree Expand file tree Collapse file tree 6 files changed +6
-38
lines changed
Expand file tree Collapse file tree 6 files changed +6
-38
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ let runTool cmd args workingDir =
5757let getBuildParam = Environment.environVar
5858
5959let DoNothing = ignore
60+
6061// --------------------------------------------------------------------------------------
6162// Build Targets
6263// --------------------------------------------------------------------------------------
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 <TargetFrameWork >netstandard2.0</TargetFrameWork >
77 </PropertyGroup >
88 <ItemGroup >
9- <Compile Include =" AssemblyInfo.fs" />
109 <Compile Include =" Model.fs" />
1110 <None Include =" paket.references" />
1211 </ItemGroup >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ open LibGit2Sharp
1212open Suave.Sockets
1313open Suave.Sockets .Control
1414open Suave.WebSocket
15+ open System.Reflection
1516
1617type FornaxExiter () =
1718 interface IExiter with
@@ -268,8 +269,10 @@ let main argv =
268269 Console.ReadKey() |> ignore
269270 printfn " Exiting..."
270271 0
271- | Some Version ->
272- printfn " %s " AssemblyVersionInformation.AssemblyVersion
272+ | Some Version ->
273+ let assy = Assembly.GetExecutingAssembly()
274+ let v = assy.GetCustomAttributes< AssemblyVersionAttribute>() |> Seq.head
275+ printfn " %s " v.Version
273276 0
274277 | Some Clean ->
275278 let publ = Path.Combine( cwd, " _public" )
Original file line number Diff line number Diff line change 99 <ItemGroup >
1010 <ProjectReference Include =" ..\Fornax.Core\Fornax.Core.fsproj" />
1111
12- <Compile Include =" AssemblyInfo.fs" />
1312 <Compile Include =" FSIRefs.fs" />
1413 <Compile Include =" Generator.fs" />
1514 <Compile Include =" Fornax.fs" />
You can’t perform that action at this time.
0 commit comments