-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the templating engine and the command tool cache et al. (#615)
* Use a more efficient implementation of the Common module functions. Use an allocation-free implementation of the ParamKey type. Fix formatting in BuildCommand.fs and syntax highlighting in _template.html. * Rewrite the template engine to be more memory-efficient. It uses spans. For the most of allocation savings, FSharp.Formatting.Common now targets .NET Standard 2.1 too but the package is not yet updated; only the command tool will take advantage of all improvements. * Ignore files generated by the AssemblyInfo FAKE target. Remove an unused source file. And use LINQ-to-XML to generate version.props. * Serialize the command tool cache with the data contract serializer. The cache is both more secure and more compact (the cache's size for this project was reduced by a third, after using binary XML). And use a more reliable way to install the command tools during documentation generation. * Override ParamKey.ToString.
- Loading branch information
1 parent
420e4a4
commit 60cb2cf
Showing
17 changed files
with
414 additions
and
464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.