Commit Graph

16 Commits

Author SHA1 Message Date
Michele Guerini Rocco
bc28d14ebe
add infrastructure for making releases
Idea: a release will be a git tag, distributed as an autogenerated
archive (eg. by GitLab release feature).
This version string must therefore be stored in a revisioned file, so we
use `.version` for this purpose. Before tagging a new release this file
will have to be updated with the new version number.

When building gray the revision (shown in the output headers and usage
screen) will be set to either

- the latest commit hash when building from a git checkout,

- from the .version file when building from release archive.

The implementation is based on whether the .git directory is present.
2024-12-04 16:39:25 +01:00
Michele Guerini Rocco
27e3ffc7b7
default.nix: avoid more warnings in sandboxed builds 2024-12-03 16:54:18 +01:00
Michele Guerini Rocco
0ab0fcbf60
document the wave polarisation convention 2024-11-09 21:19:45 +01:00
Michele Guerini Rocco
16ec1a1d06
default.nix: silence missing fontconfig cache warnings 2024-11-09 21:16:05 +01:00
Michele Guerini Rocco
68358ac506
Makefile: propagate up the docs prerequisites 2024-11-09 18:36:24 +01:00
Michele Guerini Rocco
6fad08ed7c
add tests 2024-02-09 11:16:17 +01:00
Michele Guerini Rocco
9a0f19e9e1
default.nix: update to Nixpkgs 23.05 2024-01-24 14:37:21 +01:00
Michele Guerini Rocco
c889c754f7
fix partial updates to libgray.a when using Nix
When building the static library the Nixpkgs stdenv `ar` defaults to not
writing timestamps for the members file. This imply make will always try
to add all members to the archive, which defeats the purpose of the
file-level granularity.
2024-01-24 14:37:20 +01:00
Michele Guerini Rocco
f169db3a70
default.nix: update to Nixpkgs 21.11 2023-03-29 21:52:21 +02:00
Michele Guerini Rocco
c3f8cb1921
default.nix: update to Nixpkgs 21.11 2022-05-11 01:15:08 +02:00
Michele Guerini Rocco
cd6966f1b4
default.nix: prevent nixpkgs tarball GC
When adding a GC root with `nix-build -A inputDerivation` the Nixpkgs
tarball wasn't being saved because it's technically not a build input.
2022-05-11 01:15:08 +02:00
Michele Guerini Rocco
095ee7ecf2
default.nix: exlcude result from source 2022-05-11 01:15:03 +02:00
Michele Guerini Rocco
da1ddd186e
default.nix: enable parallel build 2022-05-11 01:15:03 +02:00
Michele Guerini Rocco
9a39251f44
doc/gray.1 generate from gray --help 2022-05-11 01:15:02 +02:00
Michele Guerini Rocco
08dad4ff45
add documentation 2021-12-15 02:30:58 +01:00
Michele Guerini Rocco
f58a8ba308
add Nix package 2021-12-15 02:30:49 +01:00