9 Commits

Author SHA1 Message Date
hoijui
96c0790804 gitignore: ignore lots of auto-generated files
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2020-02-18 14:37:42 +01:00
hoijui
1c29997254 gitignore: fix config.* ignore
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2020-02-18 14:37:42 +01:00
Lukas Fleischer
9befae484d .gitignore: add test/*.{log,trs}
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2019-12-23 13:16:39 -05:00
Lukas Fleischer
225a310de1 po/: Add Makevars
Add project-specific gettext settings to "po/Makevars". Also, remove the
"AM_XGETTEXT_OPTION" autoconf macro and use "XGETTEXT_OPTIONS" Makevars
instead.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-11-26 01:46:56 +01:00
Lukas Fleischer
e66e2d4277 Add a minimal test suite
Introduce a new "test/" sub-directory that contains tests for calcurse.
Right now, it only includes the quick-and-dirty "run-test" helper that
can be used to run and verify tests:

    $ ./run-test test-1 test-2 test-3 test-4
    Running test-1... ok
    Running test-2... ok
    Running test-3... FAIL

Each argument passed to run-test must be a test script located in the
current directory. run-test invokes each script twice and passes the
command line argument "expected" and "actual", respectively. A test case
succeeds if both "expected" and "actual" instances return with a zero
exit status and produce exactly the same output. It fails otherwise.

run-test terminates with a non-zero exit status as soon as one of the
test fails.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-01-21 23:06:32 +01:00
Lukas Fleischer
093b28ac39 Extract config file handlers into a separate file
We used custom_load_conf() to load the configuration file and
io_save_conf() to save configuration. Move these functions, including
all helpers, to a central location.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-12-09 20:54:20 +01:00
Lukas Fleischer
c5e4187590 Add Git version string support.
Introduce a script to auto-generate version strings. Use `git describe`
to create descriptive version strings when building from a Git checkout,
use ".version" files for release tarballs.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-22 02:47:37 +02:00
Lukas Fleischer
1140feaabf Update and cleanup ".gitignore".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-11 10:56:14 +02:00
Lukas Fleischer
6a6d4a0c61 Add ".gitignore".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 12:21:25 +01:00