-
Notifications
You must be signed in to change notification settings - Fork 154
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
Add Initialization Script #22
Comments
I have begun working on this. However, I'd like an opinion on which mechanism is best-suited for doing the work. So far, I've considered two options:
Of course, if there are other ideas, I'm ready to discuss them. |
I just began thinking over this problem. I can see 2 scenarios:
I did a "back of the envelope" analysis of the 2nd scenario and came up with this outline I'm throwing out here for comment. All of the steps you have outlined for scenario 1 probably apply as well.
|
Ideas are really interesting and useful. Initialization script looks realistic, but
|
As I know PR is coming... // cc: @gentauro |
Done :-) |
Closing, thank you @caindy |
Per request from Don Syme, it'd be nice to add an initialization script that does the necessary renamings in one go. Specifically, such a script would have to rename the following (based on user-supplied values):
Fsharp.ProjectScaffold.sln
src/Fsharp.ProjectTemplate
src/Fsharp.ProjectTemplate/Fsharp.ProjectTemplate.fsproj
tests/Fsharp.ProjectTemplate.Tests
tests/Fsharp.ProjectTemplate.Tests/Fsharp.ProjectTemplate.Tests.fsproj
Additionally, the following files would need their content updated (to reflect the changes listed above):
Fsharp.ProjectScaffold.sln
(reference toFsharp.ProjectTemplate.fsproj
andFsharp.ProjectTemplate.Tests.fsproj
)Fsharp.ProjectTemplate.fsproj
(emitted assembly name)Fsharp.ProjectTemplate.Tests.fsproj
(emitted assembly name and reference to Fsharp.ProjectTemplate.fsproj)docs/content/Index.fsx
(reference to emitted assembly and project name)docs/content/Tutorial.fsx
(reference to emitted assembly and project name)docs/tools/Generate.fsx
(emitted assembly name, solution name, github repo name)Build.fsx
(solution name, project name, test project emitted assembly name, github repo name)Also, while the script is changing files, it should probably replace
README.md
(in the root folder) with something simpler. And it might be nice to set the content ofRELEASE_NOTES.md
to something generic.The text was updated successfully, but these errors were encountered: