Git Product home page Git Product logo

Comments (3)

oluwandabira avatar oluwandabira commented on May 27, 2024

Is this being looked at? It would be nice to have as the current release requires 3.1 and crashes when sub directories are involved.

from fornax.

rdipardo avatar rdipardo commented on May 27, 2024

Just to clarify, it only seems like "the current release requires 3.1" because the installed version of fake-cli is incompatible with newer SDKs:

$ dotnet tool restore
Tool 'fake-cli' (version '5.20.3') was restored. Available commands: fake
Tool 'paket' (version '5.257.0') was restored. Available commands: paket

Restore was successful.

$  dotnet fake build
Performance:
 - Cli parsing: 814 milliseconds
 - Packages: 1 second
 - Script analyzing: 507 milliseconds
 - Runtime: 4 seconds
There was a problem while setting up the environment:
-> Extracting platforms from path 'net5.0' failed, a newer Paket version might support it, otherwise please open an issue for a missing platform handler.
Hint: If you just upgraded the fake-runner you can try to remove the .fake directory and try again.

The latest version of fake-cli is the first one to fully support net5.0 (meaning, SDKs beyond 5.0.102):

diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index 153c26c..b9fdb39 100644  
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
   "isRoot": true,
   "tools": {
     "fake-cli": {
-      "version": "5.20.3",    
+      "version": "5.20.4",
       "commands": [
         "fake"
       ]
$ dotnet tool restore
Tool 'fake-cli' (version '5.20.4') was restored. Available commands: fake
Tool 'paket' (version '5.257.0') was restored. Available commands: paket

Restore was successful.

$ dotnet fake build
Building project with version: LocalBuild
[ . . . ]
---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target         Duration
------         --------
Clean          00:00:00.0057032
AssemblyInfo   00:00:00.1127332
Restore        00:00:22.4571167
Build          00:01:03.5961564
Publish        00:00:12.8017990
Test           00:00:50.2630232
Default        00:00:00.0003009
Pack           00:01:29.3428302
Total:         00:03:59.1215607
Status:        Ok
---------------------------------------------------------------------
Performance:
 - Cli parsing: 826 milliseconds
 - Packages: 36 seconds
   - Disk IO: 15 seconds
   - Average Download Time: 106 milliseconds
   - Number of downloads: 166
   - Average Request Time: 92 milliseconds
   - Number of Requests: 167
   - Creating Runtime Graph: 511 milliseconds
   - Retrieve Assembly List: 16 seconds
 - Script compiling: 20 seconds
 - Script analyzing: 107 milliseconds
 - Script running: 4 minutes
 - Script cleanup: 142 milliseconds
 - Runtime: 5 minutes, 21 seconds

from fornax.

rdipardo avatar rdipardo commented on May 27, 2024

Obsoleted by 9102720

from fornax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.