Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 07 2016 22:06

    Krzysztof-Cieslak on master

    Fix tests Remove `--hard` Paket call (compare)

  • Nov 07 2016 21:43

    Krzysztof-Cieslak on templates

    Update Paket (compare)

  • Nov 07 2016 19:45

    Krzysztof-Cieslak on noprompt

    (compare)

  • Nov 07 2016 19:45

    Krzysztof-Cieslak on hack

    (compare)

  • Nov 07 2016 19:45

    Krzysztof-Cieslak on move_project_system

    (compare)

  • Nov 07 2016 18:37

    Krzysztof-Cieslak on 1.1.1

    (compare)

  • Nov 07 2016 18:37

    Krzysztof-Cieslak on master

    Bump version to 1.1.1 (compare)

  • Nov 07 2016 18:36

    Krzysztof-Cieslak on gh-pages

    Update generated documentation … (compare)

  • Nov 07 2016 18:33

    Krzysztof-Cieslak on 1.1.0

    (compare)

  • Nov 07 2016 18:33

    Krzysztof-Cieslak on master

    Bump version to 1.1.0 (compare)

  • Nov 07 2016 18:30

    Krzysztof-Cieslak on gh-pages

    Update generated documentation … (compare)

  • Nov 07 2016 18:21
    Krzysztof-Cieslak closed #81
  • Nov 07 2016 18:21
    Krzysztof-Cieslak commented #81
  • Nov 07 2016 18:18

    Krzysztof-Cieslak on new_solution

    (compare)

  • Nov 07 2016 18:18

    Krzysztof-Cieslak on master

    Add `New solution` command (#16… (compare)

  • Nov 07 2016 18:18
    Krzysztof-Cieslak closed #169
  • Nov 07 2016 18:14
    Krzysztof-Cieslak opened #169
  • Nov 07 2016 18:06

    Krzysztof-Cieslak on new_solution

    Add new solution command Add test for new solution (compare)

  • Nov 07 2016 17:59
    alfonsogarciacaro commented #167
  • Nov 07 2016 17:43

    Krzysztof-Cieslak on templates

    Move sln template (compare)

Robin Munn
@rmunn
With Forge and ProjectScaffold, there seem to be two different ways of setting up your F# projects. I'm currently trying to figure out how to best present F# to a bunch of C# developers who've never stuck their toe in functional-programming land, and I'd like to figure out how best to smooth their way towards success. Should I show them ProjectScaffold, or Forge? I love how ProjectScaffold gives you a complete, working build system right off the starting line, with Paket and FAKE and FSharp.Formatting for documentation and all the bells and whistles. But if Forge lets you run "forge paket update" and not have to worry about typing "mono .paket/paket.exe" all the time, that's a good user experience too.
Loïc Denuzière
@Tarmil
You should be able to initialize your solution with ProjectScaffold and then manage it with Forge.
Robin Munn
@rmunn
I guess what I'm really looking for is a "forge scaffold (project-name)" command that would download a .zip of ProjectScaffold, unpack it, and answer the "project name" question, leaving everything else for the user to fill in later in build.sh. (Or maybe ask the questions interactively... either way.)
Loïc Denuzière
@Tarmil
yeah that's been proposed
Robin Munn
@rmunn
@Tarmil In that case, the forge new command feels like a trap -- because many of the templates are minimal templates that do not install Paket, FAKE, etc.
I didn't see the proposal in the Github issues. Okay then, count me as another :+1: for that proposal.
Loïc Denuzière
@Tarmil
I don't know if it's in the issues, I just remember it being discussed.
Robin Munn
@rmunn
Just searched for "scaffold" in the issues and came up empty. Maybe I'll add it so there's a place to preserve discussion of the proposal.
Loïc Denuzière
@Tarmil
Good idea
Robin Munn
@rmunn
Okay, found the discussion from March 19th and onwards. I'll reference it in the Github issue too.
Robin Munn
@rmunn
Opened fsprojects/Forge#107 to track discussion of a forge scaffold proposal.
Dave Thomas
@7sharp9
I wanted to like Forge but I found that issue where it will go thought an entire directory and upgrade everything to paket.
Which means loads of fun restoring my laptop from a backup :fire:
Krzysztof Cieślak
@Krzysztof-Cieslak
Forge does install Paket and FAKE by default
@rmunn ^
It also lets you do forge paket .... and forge fake ...
Dave Thomas
@7sharp9_exhumed_twitter
I dont suppose the templates support subdirectories?
Krzysztof Cieślak
@Krzysztof-Cieslak
no, not yet
adicirstei
@adicirstei
currently the "RunTests" target is saveing the output in a xml file. Is there a simple way to print the result to console in a human readable format? I want to add some more tests (I mean contribute :) ) and am looking for a place to start.
Jared Hester
@cloudRoutine
that's just a result of nunit
adicirstei
@adicirstei
I figured that.
I am looking over TestCoverage.md and thinking to give a try Path Helper ones. I hope they are easyer
adicirstei
@adicirstei
well, I looked over the sources and I didn't really found what TestCoverage.md said shoud be tested.

Path Helper - normalize file name
Path Helper - get root
Path Helper - path is directory
Path Helper - get parent dir from path
Path Helper - remove parent dir
Path Helper - remove root
Path Helper - fixDir: add trailing slash if missing
Path Helper - dirOrder: (?)
Path Helper - treeOrder: (?)
Path Helper - checkFile: (?)
where can I find these functions?
I looked over Globbing and FileHelper
Jared Hester
@cloudRoutine
@adicirstei PathHelpers is an internal module in ProjectSystem.fs
adicirstei
@adicirstei
A hint with the file to look at, might help.
Robin Munn
@rmunn
I've been thinking about what it would take to convert ProjectScaffold to a Forge template. For starters, it would be nice to have an API in Forge to ask the user questions before installing the template, and to pass the results of the user's questions to some .fsx script (that the template would define) as command-line parameters, so that the template can set things up according to the user's wishes. (E.g., whether to install FAKE and/or Paket, or the several questions that ProjectScaffold asks in its init.fsx script). Any thoughts on whether that would be a useful feature for templates -- a "hook" that can make the templates more interactive?
Jared Hester
@cloudRoutine
it's been on our todo list for months
Robin Munn
@rmunn
Also, the idea of asking the user seven questions in a row in the ProjectScaffold init.fsx script, and how that would look in Visual Studio Code, led me to open Microsoft/vscode#9936 to ask for a better UI for asking multiple questions in a row (basically, I want an HTML form). Any interest in that idea?
Jared Hester
@cloudRoutine
my interim solution for vscode was to do something similar to the git prompts
where it's actively parsing the input text and anjusting the the palette items based on input
Krzysztof Cieślak
@Krzysztof-Cieslak
To be fair, just prompting multiple inputBoxes as we do in New Project is not super bad. I doubt they will want support for any bigger forms (they really want to keep UI clean)
Jared Hester
@cloudRoutine
as far as templates go i'd like to do something similar to https://github.com/howardroark/pollinate
Robin Munn
@rmunn
I'm not a big fan of the user experience of New Project right now... I'd like to see a description of the project templates, not just a name that tells me very little (if I'm an F# newbie).
Jared Hester
@cloudRoutine
i'm not a fan of most things about forge, and i wrote most of them ;P
Robin Munn
@rmunn
Jared Hester
@cloudRoutine
it's a lot more involved than just regular api calls
Robin Munn
@rmunn
@cloudRoutine - :grinning:
Jared Hester
@cloudRoutine
F# needs a prompt toolkit, then it'll be easy to do the other stuff
Robin Munn
@rmunn
Where's the todo list for Forge, BTW?
Jared Hester
@cloudRoutine
if you google forge roadmap it's literally the first result
Robin Munn
@rmunn
Ah, roadmap. For some reason that term didn't occur to me to check for. :blush:
Yemi Bedu @ P&R
@pr-yemibedu
when creating a new F# project with paket and fake in vscode, I am asked for two folder names. The paket and fake files are not under the first directory but at that folders parent. Can there be an alternative template I create to change the location?
And how would I find where to make an advanced version of the project templates without a paket.references containing Fsharp.Core? I already put it in my .fsproj file which works just fine with MSBuild.
Yemi Bedu
@yemibedu
@yemibedu
what are my options for making csproj files in linux?
google is not my friend on this.
mclang
@mclang
Could somebody help me with creating F# Mono project with Forge
I'm using VS Code and Ionide, and I manage to create F# console FAKE/Paket project, but the project file has <TargetFramework>net461</TargetFramework> whereas FAKE's build.sh has let dotnetcliVersion = "2.0.2"
Running ./build.sh succeeds if I change target framework to netcoreapp2.0, but I don't like that - I want to build proper mono exe binary