<feed xmlns='http://www.w3.org/2005/Atom'>
<title>even.git, branch master</title>
<subtitle>A very basic c binary to check if an input number is even.
</subtitle>
<id>https://git.zachir.xyz/even.git/atom?h=master</id>
<link rel='self' href='https://git.zachir.xyz/even.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/'/>
<updated>2024-03-11T07:00:31Z</updated>
<entry>
<title>Add error handling for non-numbers passed</title>
<updated>2024-03-11T07:00:31Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-11T07:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=3d95ee49b4e45c11d0a9d6368ea3ec6808006a35'/>
<id>urn:sha1:3d95ee49b4e45c11d0a9d6368ea3ec6808006a35</id>
<content type='text'>
Non-numbers that are passed will return -1, and print an error message.
This includes decimal places, as only integers can be even or odd.
</content>
</entry>
<entry>
<title>Prints help msg when no args</title>
<updated>2024-03-11T06:59:34Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-11T06:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=45933ed41766da5e08b59f970ff58df63eb18c8b'/>
<id>urn:sha1:45933ed41766da5e08b59f970ff58df63eb18c8b</id>
<content type='text'>
When no args are provided, even will now print the help message and
return -1.
</content>
</entry>
<entry>
<title>Fixes logic error with quiet</title>
<updated>2024-03-11T06:57:53Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-11T06:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=934a7be0be6764c8b47aedbf6aad22654d3bd3f2'/>
<id>urn:sha1:934a7be0be6764c8b47aedbf6aad22654d3bd3f2</id>
<content type='text'>
Before, quiet worked in reverse, i.e. text was only displayed when -q
was passed. Also, even now will not return 1 with an odd number when
quiet is not passed.
</content>
</entry>
<entry>
<title>Add install/uninstall to Makefile</title>
<updated>2024-03-11T06:42:53Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-11T06:42:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=ccb5c84449f930aa66d8ee9d47f7a5d806ce5df5'/>
<id>urn:sha1:ccb5c84449f930aa66d8ee9d47f7a5d806ce5df5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace build system with zig</title>
<updated>2024-03-11T06:34:22Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-11T06:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=2b135d87f5c1f1f307984f5fd78e151f5ee99dae'/>
<id>urn:sha1:2b135d87f5c1f1f307984f5fd78e151f5ee99dae</id>
<content type='text'>
Zig is actually handling the building and such, now the Makefile is
here just as a wrapper for it.
</content>
</entry>
<entry>
<title>Optimize for size, and redo Makefile</title>
<updated>2024-03-07T05:32:28Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-07T05:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=42b5d719a0207a56b482a4e0298d72b628b93fa0'/>
<id>urn:sha1:42b5d719a0207a56b482a4e0298d72b628b93fa0</id>
<content type='text'>
Optimizing for size for the current comparison. Also, I don't know of a
generic way to do ${OBJ}: ${SRC} as a Makefile target, so I made that
part not generic.
</content>
</entry>
<entry>
<title>Use strtol instead of checking each digit</title>
<updated>2024-03-07T05:31:51Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-07T05:31:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=a94711362f844d5de6b498d05f12611312e22e0d'/>
<id>urn:sha1:a94711362f844d5de6b498d05f12611312e22e0d</id>
<content type='text'>
This makes it both faster and smaller.
</content>
</entry>
<entry>
<title>Reorganize the help message</title>
<updated>2024-03-07T05:30:08Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-03-07T05:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=ea86302d44a0370264959970eb624035aeb4cef4'/>
<id>urn:sha1:ea86302d44a0370264959970eb624035aeb4cef4</id>
<content type='text'>
Changed around stuff in the help message to make it more consistent
with zeven.
</content>
</entry>
<entry>
<title>even: Fix help message</title>
<updated>2024-02-15T05:57:43Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-02-15T05:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=9c60d421fd95a33350ac9c68512e6b1d2edd9f27'/>
<id>urn:sha1:9c60d421fd95a33350ac9c68512e6b1d2edd9f27</id>
<content type='text'>
The help message was missing some information, that has now been added.
</content>
</entry>
<entry>
<title>even: Add bin to check if number is even</title>
<updated>2024-02-15T05:54:52Z</updated>
<author>
<name>zachir</name>
<email>zachir@librem.one</email>
</author>
<published>2024-02-15T05:54:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zachir.xyz/even.git/commit/?id=0689d6bbbb0e6ecc3934d8e4a2e9b0fc66a0b29f'/>
<id>urn:sha1:0689d6bbbb0e6ecc3934d8e4a2e9b0fc66a0b29f</id>
<content type='text'>
even is a basic binary to check if the provided number is even.
</content>
</entry>
</feed>
