Commit Graph

1 Commits

Author SHA1 Message Date
5a78579fd7 Make the version replacement logic more intelligent.
Previously we did the replacement differently in the .nimble file and
the version file. In the .nimble file we replaced the string in place,
but in the version file we just rewrote the whole file. This meant that
we could not include the version constant in a file with any other code.

Now we do an in-place replacement for both files. This allows the
version constant to live alongside other code.
2022-01-21 14:58:36 -06:00