-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider moving build project to a build folder #552
Comments
Thanks for the suggestion @halcwb! I agree that it's a little untidy to have the build project's files right at the repo root. My opinion is that
However, I don't feel particularly strongly about any of those points. A compromise approach could be to leave Build.fsproj where it is, but move Build.fs and Helpers.fs into a subdirectory (for example |
@mattgallagher92 With the current setup the problem I have is when I do a |
At Compositional IT, we'd usually approach that by having dedicated build targets in the build project. There is already a SAFE-template/Content/default/Build.fs Lines 55 to 60 in 91c1672
You could create your own targets, for example That way the build project always behaves as the target of your |
@isaacabraham @theprash I'd be interested in your thoughts regarding this:
|
@mattgallagher92 I like the idea of moving those files out of the root. And I agree that normally everything is done through FAKE targets in the build project rather than plain |
Don't mind moving those files out of the root - it looks less complicated then too ;-) but we need to keep |
If we include #576 then I'm not sure it's worth having a folder for a single file though (we won't need |
Personally, I just replace the build.fs with a build.fsx and perfer to take the hit with |
Currently, the build project sits right at the root folder of the template. Wouldn't it be better to move this to a 'build' folder instead? Only, then you can't just
dotnet run
, but fixing this in the package.json and usingnpm start
would be also be convenient.The text was updated successfully, but these errors were encountered: