Having doo files part of the git index prevents agile development #5057
Labels
area: build-system
Support for dependencies in Dafny, generation of target language build files
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
We should remove the doo files from the index. They will cause conflict at every pull request if that pull request changes the standard library. Moreover, they don't build the same on every machine currently.
Committing generated files is not a good practice in general. We do this for
Source/DafnyCode/GeneratedFromDafny.cs
because this file is needed for DafnyCore to work, as per our bootstrap strategy. But even though we could depend on the standard library files, we won't use the doo file for that, we will likely integrate the standard library sources inside GeneratedFromDafny.cs under their compiled version.So really, doo files should be removed from the index.
Suggested change
The text was updated successfully, but these errors were encountered: