Go to file
Jonathan Bernard 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
.gitignore Make the version replacement logic more intelligent. 2022-01-21 14:58:36 -06:00
update_nim_package_version.nim Make the version replacement logic more intelligent. 2022-01-21 14:58:36 -06:00
update_nim_package_version.nimble Make the version replacement logic more intelligent. 2022-01-21 14:58:36 -06:00