Commit Graph

18 Commits

Author SHA1 Message Date
Marty Oehme 7cec73e2db
📖 Bump version, add to changelog 2022-06-29 12:44:42 +02:00
Marty Oehme 2a17237a96
🧪 Add tests for XDG base directory adherence
Added simple tests for database and cache locations.

Moved test PATH setup to new file-level function which should slightly
speed up testing and makes more sense conceptually to set the bemoji
executable to be in the path once for all tests.
2022-06-29 12:44:42 +02:00
Marty Oehme ce17ae58f1
📖 Add simple Changelog 2022-06-29 12:44:42 +02:00
Marty Oehme 31550448f0
🦊 Add display for directory config to -v option
Added a quick way to see if directories have been set up correctly. This
also eases testing for future ways of setting directories through
environment variables or options.
2022-06-29 12:44:42 +02:00
Marty Oehme 0b255413d0
🦊 Simplify grep string for POSIX compatibility 2022-06-29 12:44:41 +02:00
Marty Oehme 75395d2bbd
🐛 Fix custom command invocation quoting 2022-06-29 12:44:41 +02:00
Marty Oehme b9708405fa
📖 Add testing instructions to readme 2022-06-29 12:44:41 +02:00
Marty Oehme 936f19bca6
🧪 Set up default emoji list for tests
Inject a tiny sample emoji list into each test so no download function
is engaged by default.
Add tests for version display.
2022-06-29 12:37:13 +02:00
Marty Oehme ceea79eb3a
🧪 Add simple test framework
Now that the project is finding a little adoption it is really high time
to bring some tests into the code to ensure everything works as it
should.
This first version will only provide a simple test harness from which
tests can slowly be written for other parts of the program.
2022-06-29 12:35:52 +02:00
Marty Oehme edd5ebd743
📖 Improve installation documentation
Switched sections for dependencies and installation around and created
better sub-headings.
Added section on installing packaged AUR version, thanks to @firegem for
packaging it!
Fixed some whitespace on line endings.

Closes #6.
2022-06-29 08:49:45 +02:00
Marty Oehme f791bf093c
📖 Document version and help options in cli help 2022-06-29 08:20:22 +02:00
Arkadiusz Wieczorek 3c2a8b9894
 Fix parameter order for xdotool
* Change parameter's order for xdotool
* Fix order parameters

Thanks to @arkadiusz-wieczorek for spotting and fixing the bug.
Fixes #3
2022-01-07 12:10:39 +01:00
Marty Oehme 8a31a36280
Add version option
You can now ask the program for its version with `bemoji -v`.
2021-12-01 22:31:27 +01:00
Marty Oehme afdfc53bfe
🦊 Remove useless cat 2021-12-01 22:16:46 +01:00
Marty Oehme 52bf358187
📃 Improve usage screen
Improved usage message to display all currently available default
download options.
2021-12-01 22:15:30 +01:00
Marty Oehme 08947772aa
🦊 Switch from sh to bash
Switched to bash to ensure compatibility with the arrays the code uses.
2021-12-01 22:12:31 +01:00
Marty Oehme f30dcf8242
Fix up README 2021-12-01 15:57:12 +01:00
Marty Oehme b1361617e7
initial commit 2021-12-01 15:51:48 +01:00