Michael Fabian 'Xaymar' Dirks
2f60608e3c
tests: Modify tests to include hidden problems
...
The previous test cases didn't actually cover the majority of use cases at all.
2022-07-05 21:18:29 +02:00
Michael Fabian 'Xaymar' Dirks
6d978a044e
Version 1.2.1
1.2.1
2022-07-05 04:52:44 +02:00
Michael Fabian 'Xaymar' Dirks
2b80fbc79c
code: Don't modify <out-var> unless necessary
...
Prevents odd cases which were unintended.
2022-07-05 04:51:59 +02:00
Michael Fabian 'Xaymar' Dirks
f8c0dbd2e3
Version 1.2
1.2
1.2.0
2022-07-05 02:27:10 +02:00
Michael Fabian 'Xaymar' Dirks
baa4499634
docs: Update to new behavior
2022-07-05 02:26:27 +02:00
Michael Fabian 'Xaymar' Dirks
d163a141e0
tests: Additional checks and fix scope problems
2022-07-05 02:22:28 +02:00
Michael Fabian 'Xaymar' Dirks
ad06e9cc75
code: Fix errors hidden by parent scope leaking into function
...
The variable scope in CMake is unlike other languages, and simply prevents functions from unintentionally polluting the parent scope. Unfortunately this also means that we need to take extra measurements to guarantee a good default state, and that 'DEFINED' is a useless keyword. Therefore by using a random prefix, we can prevent unintentional pollution of the function scope by the caller.
2022-07-05 02:21:43 +02:00
Michael Fabian 'Xaymar' Dirks
8061b75697
Version 1.1
1.1.0
1.1
2022-07-04 22:47:57 +02:00
Xaymar
08392721a9
Merge pull request #1 from Xaymar/dot-separation
...
code, docs, tests: Add support for dot-separation
2022-07-04 22:46:03 +02:00
Michael Fabian 'Xaymar' Dirks
ccd1afb22a
code, docs, tests: Add support for dot-separation
2022-07-04 22:44:59 +02:00
Michael Fabian 'Xaymar' Dirks
2b0699284a
Version 1.0
...
- Supports Semantic Versioning 1.0.0, Semantic Versioning 2.0.0, CMake Versioning and mixtures of these.
- Functionality for parsing, modifying, generating and comparing.
1.0.0
1.0
2022-07-04 07:48:33 +02:00
Michael Fabian 'Xaymar' Dirks
9fe3d44d54
code: Add documentation to the file itself
...
This is a duplicate of index.rst, and should be considered secondary to the actual documentation at https://xaymar.github.io/cmake-version/ .
2022-07-04 07:47:10 +02:00
Michael Fabian 'Xaymar' Dirks
208fb31040
ci: Automatically generate documentation
2022-07-04 07:43:09 +02:00
Michael Fabian 'Xaymar' Dirks
c61e2cb2ce
ci: Also run tests for pull requests
2022-07-04 07:10:13 +02:00
Michael Fabian 'Xaymar' Dirks
e4313a31ad
ci: Run tests on all branches, and on changes to the workflow
2022-07-04 07:07:56 +02:00
Michael Fabian 'Xaymar' Dirks
f3d5d3956c
docs: Reduce generated bloat
...
This is a single function, no need for more than the index
2022-07-04 06:51:00 +02:00
Michael Fabian 'Xaymar' Dirks
519fe4cc75
ci: Add automated testing
2022-07-04 06:48:30 +02:00
Michael Fabian 'Xaymar' Dirks
50e6f494af
Add README and fix Copyright headers
...
This was written in 2022, not 2021. Still doesn't feel like a new year even started...
2022-07-04 05:41:47 +02:00
Michael Fabian 'Xaymar' Dirks
f46025f26c
Version 0.1
0.1
0.1.0
2022-07-04 04:50:55 +02:00
Michael Fabian 'Xaymar' Dirks
4ba4b156fb
Initial Files
2022-07-04 02:06:17 +02:00