ProjectScaffold icon indicating copy to clipboard operation
ProjectScaffold copied to clipboard

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

Open forki opened this issue 12 years ago • 6 comments

I feels strange to specify these things in two different places

forki avatar Dec 12 '13 08:12 forki

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)

tpetricek avatar Dec 12 '13 09:12 tpetricek

run generate.fsx by hand

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

.\build docs

forki avatar Dec 12 '13 09:12 forki

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

ovatsus avatar Dec 13 '13 10:12 ovatsus

ok, seems we have different workflows

forki avatar Dec 13 '13 12:12 forki

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

ovatsus avatar Dec 13 '13 12:12 ovatsus

ok.

forki avatar Dec 13 '13 12:12 forki