Packaging rules and versioning

This commit is contained in:
orbifx 2021-09-20 11:23:52 +01:00
parent 9ccbcb7f3d
commit fac264c09f
4 changed files with 8 additions and 13 deletions

View File

@ -8,9 +8,11 @@ clean:
dune clean
tgz:
cp _build/default/cli/cli.exe logarion
strip logarion
tar czvf "logarion-$(shell date -r _build/default/src/logarion_cli.exe "+%y-%m-%d")-$(shell uname -s)-$(shell uname -m)-$(shell git rev-parse --short HEAD).tar.gz" share logarion
rm logarion
dune subst
dune build
cp _build/default/cli/cli.exe txt
strip txt
tar czvf "logarion-$(shell date -r _build/default/cli/cli.exe "+%y-%m-%d")-$(shell uname -s)-$(shell uname -m)-$(shell git rev-parse --short HEAD).tar.gz" txt ReadMe
rm txt
.PHONY: cli

View File

@ -3,11 +3,13 @@ Logarion is a free and open-source text archive system. A blog-wiki hybrid.
Download: <https://logarion.orbitalfox.eu/downloads/>
EUPL licence: <https://joinup.ec.europa.eu/software/page/eupl>
Start
Create a folder and run `logarion init` from within it to produce `.logarion/config` configuration file.
Run `logarion --help` for more options.
Community & support
* Website: <https://logarion.orbitalfox.eu>
@ -15,11 +17,6 @@ Community & support
* Discussion: <https://lists.orbitalfox.eu/listinfo/logarion>
or join via <mailto:logarion-join@lists.orbitalfox.eu>
Opam packages
opam repo add orbifx https://opam.orbitalfox.eu
opam install logarion
Install development version

View File

@ -1,5 +1,3 @@
let version = "%%VERSION%%"
open Logarion
module A = Archive.Make (Logarion.File_store)

View File

@ -1,5 +1,3 @@
let version = "%%VERSION%%"
let http_body fn uri =
let open Lwt in
let open Cohttp_lwt_unix in