fsprojects / ProjectScaffold

A prototypical .NET solution (file system layout and tooling), recommended for F# projects
http://fsprojects.github.io/ProjectScaffold
The Unlicense
517 stars 153 forks source link

Reuse project properties from build.fsx in docs/tools/generate.fsx #34

Open forki opened 10 years ago

forki commented 10 years ago

I feels strange to specify these things in two different places

tpetricek commented 10 years ago

I agree - the problem is that the properties shouldn't just be passed to generate.fsx from FAKE script (because you might want to run generate.fsx by hand).

We could have a separate config.fsx that would be loaded by both FAKE build script and generate script (that would work nicely, but it feels a bit more complicated)

forki commented 10 years ago

run generate.fsx by hand

Really? How about a target in the build script and then

.\build docs

ovatsus commented 10 years ago

It's handy to be able to just alt+enter generate.fsx from VS, forcing you to go to the command line to run fake would be a step back

forki commented 10 years ago

ok, seems we have different workflows

ovatsus commented 10 years ago

I agree that we should try to remove the repetition, but right now you can use both Fake and directly run in fsi inside VS, we should try to keep that

forki commented 10 years ago

ok.