summary refs log tree commit diff stats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* added removal of notify script to uninstall targetBen Morrison2020-06-171-1/+2
|
* moved hashing to shellscript to check for postsBen Morrison2020-06-161-0/+1
| | | | | | | | | | | | | | removes dependency on sha2 crate and allows users to choose their own hashing algorithm easily. now copies clinte.json to $HOME/.clinte.json once the posts are viewed. a shellscript can be used to compare the hash of the global clinte.json to the hash of the copy. an example script is supplied. on `make install` the example script is installed to /etc/profile.d/, where it will be run for users on login.
* install target: check for clinte.json before copyingBen Morrison2020-06-161-6/+1
| | | | removed upgrade target since it's now redundant
* removed tag checkout when buildingBen Morrison2020-06-091-6/+3
|
* make test is now single-threadedBen Morrison2020-05-281-1/+1
|
* extensive rewrite to use json for storage:Ben Morrison2020-05-281-4/+19
| | | | | | | | | | | | | | sqlite3 requires the directory where the database resides to be writeable by the user. This presents a problem on multiuser UNIX systems where they may want to limit areas where users have write access. This rewrite totally scraps the sqlite3 database in favor of a pretty simple json file consisting of an array of posts. flock(2) locking is used to synchronize access to the file and make sure two clients aren't trying to write to it at once. The locking is fairly granular right now, but later I may change it to using a single lock for the duration of execution since race conditions are *possible*, if unlikely for the purposes of clinte's intended use.
* updated makefile to use printf instead of echoBen Morrison2020-05-261-33/+17
|
* leave db intact on uninstallBen Morrison2020-01-201-1/+0
|
* changed db permsBen Morrison2019-09-041-1/+2
|
* fixed db dir permsBen Morrison2019-08-291-2/+1
|
* tests in makefile, cleaned db testBen Morrison2019-08-281-0/+9
|
* added makefileBen Morrison2019-08-281-0/+55