Commit Graph

791 Commits

Author SHA1 Message Date
Simon Michael
9e8f8b42e1 ;tools: retire the main Makefile 2024-04-24 07:34:31 -10:00
Simon Michael
36e1380674 ;tools: just, make, shake: cleanup 2023-12-09 00:20:57 -10:00
Simon Michael
96f52ee00c ;tools: make haddock-watch etc.: new fast version, cleanups 2023-11-08 13:59:18 -08:00
Simon Michael
876bdacf5d ;tools:make:etags: include .test files 2023-11-01 06:53:25 +00:00
Simon Michael
abc99d8dca ;dev: tests: ledger-compat tests cleanup 2023-10-29 00:16:47 +01:00
Simon Michael
6d849f9e73 ;make: copy-exe[s]-*: fix help
vv#	examples/shared-expenses.journal
2023-10-21 17:58:43 +01:00
Simon Michael
0e98f73e30 dev:cli: merge Hledger.Cli.Main with Hledger.Cli 2023-10-04 10:03:35 +01:00
Simon Michael
37bb9a03be make: fix haddock[-watch|-open] 2023-10-04 10:03:35 +01:00
Simon Michael
d5fdfdbdc7 ;cln: make functest-PAT now filters the same tests run by make functest 2023-06-16 11:41:46 -10:00
Simon Michael
a3c300b508 ;dev: make/shake/bake help titles 2023-06-14 23:54:29 -10:00
Simon Michael
353ac8809b dev:tools: add checkembeddedfiles to make test & master CI 2023-06-02 08:26:37 -10:00
Simon Michael
6b3dd79542 ;dev: make copy-exe*/install-as*: install binaries to bin/old/ 2023-05-27 08:56:05 -10:00
Simon Michael
d3079c9066 ;dev: make install-as-%: save in bin/old/ instead 2023-05-23 17:14:01 -10:00
Simon Michael
3dd497d94d dev: make etags-ls 2023-05-18 07:12:33 -10:00
Simon Michael
400f401d11 ;dev: tools: fix make etags 2023-04-27 09:17:03 -10:00
Simon Michael
939532be95 dev: make ghci-web: disable the config symlink to fix makeinfo warnings 2023-04-06 15:36:00 -10:00
Simon Michael
fb56fff93a ;dev: make: copy-exe*: use hyphen again, less annoying 2023-04-06 13:16:28 -10:00
Simon Michael
eb918044ce ;dev: make releasediag 2023-03-15 10:45:39 -10:00
Simon Michael
e1cbe256d4 dev: tools: make copy-*: add .FOO suffix, not -FOO like addons 2023-01-25 10:44:12 -10:00
Simon Michael
3b8bec7522 dev: make; comment out unused breakpoint plugin 2022-12-22 19:07:40 -10:00
Simon Michael
9bac3950af dev: make functest: exclude failing ledger compat tests 2022-12-21 23:09:00 -10:00
Simon Michael
16b7b924e0 ;dev: make man-watch 2022-12-14 05:55:44 -10:00
Simon Michael
5e4e69f390 ;dev: make site-watch: fix runaway recursion, be more verbose 2022-12-06 07:10:39 -10:00
root
e3ae1916f1 dev: make site: update 2022-12-01 11:53:30 -08:00
Simon Michael
c03bb48972 ;dev: make site-watch: convert to watchexec 2022-11-08 11:48:27 -10:00
Simon Michael
b36c35d477 ;dev: makefile comment 2022-11-07 16:37:00 -10:00
Simon Michael
7c8e241383 dev: make hoogle-setup, hoogle-serve: run a local hoogle 2022-11-04 10:45:57 -10:00
Simon Michael
90a1b7ad20 dev: make man-watch-PROG 2022-11-03 08:10:45 -10:00
Simon Michael
51098d9150 dev: make ghci*: allow use of Debug.Breakpoint 2022-08-26 11:29:16 +01:00
Simon Michael
c80c72d7cd dev: lib, cli, bin: enable/fix name shadowing warnings
And a few other cleanups.
2022-08-23 12:16:15 +01:00
Simon Michael
b636eb78a9 dev: make ghci[d]-ui: fix/update 2022-08-17 15:57:27 +01:00
Simon Michael
b606d8de02 tools: make scc 2022-07-11 11:36:14 +01:00
Simon Michael
eec64a64cd tools: make: drop old ledger-parse dir 2022-06-29 09:19:00 +01:00
Simon Michael
184269d959 tools: make ghci-unit-test 2022-06-29 09:19:00 +01:00
Simon Michael
de70e0d3ea ;doc: make siteall: rebuild the site and all manual versions 2022-05-06 01:11:53 -10:00
Simon Michael
db1818ac4a imp: consistent ghc warnings 2022-03-26 08:27:29 -10:00
Simon Michael
d9ecd1eb9d imp: update to modern warning flags 2022-03-25 20:28:34 -10:00
Simon Michael
0818c44a6c tools: make buildtimes*: switch to GHC 9.2, add unoptimised variants
On mac m1, 9.2 builds almost 3x faster than 9.0,
and building unoptimised gives another 2x speedup.
2022-03-25 11:49:52 -10:00
Simon Michael
0c9829d004 tools: make buildtimes*: also build hledger executable 2022-03-25 09:01:30 -10:00
Simon Michael
0b53035c7a tools: make buildtimes-cabal: show times without double compilation 2022-03-25 08:19:17 -10:00
Simon Michael
9b2bed8e41 tools: make buildtimes: show GHC codegen times 2022-03-25 07:42:28 -10:00
Stephen Morgan
bcaa6ac3c8 test: Run all tests with --fast compilation, not just functests. 2022-01-26 08:10:59 -10:00
Simon Michael
3135753e94 tools: make: clean up stack command defs 2022-01-21 17:33:19 -10:00
Simon Michael
8d31f21502 ;tools: make stack fixes 2022-01-06 08:23:57 -10:00
Simon Michael
88f34063c7 ;dev: make functest-*: fix hardcoded stack 2021-12-21 12:18:57 -10:00
Simon Michael
cfebbe79f3 ;dev: make: use ghc 8.10 till 9.x has arm binaries 2021-12-16 15:33:09 -10:00
Simon Michael
839ebc18a8 dev: make hackageupload: do it only from a release branch
To avoid mishaps like yesterday's upload of 1.24.99, this will now
only work from a branch named VERSION-branch or (possible future
naming) VERSION-release.

This means major releases from master are no longer allowed; a release
branch is always required,
2021-12-11 08:52:33 -10:00
Simon Michael
16124eba14 dev: move commitlint to tools, keeping bin/ for user tools 2021-12-10 16:52:19 -10:00
Simon Michael
1ef8f329c6 lib: simpler more robust version strings, with date/without patchlevel
We no longer rely on git tags and git describe output, since it's
hard to reliably select the correct tag eg for minor releases.
We might use them again in future for dev builds, but it requires
adding git describe --match support to githash. For now,

* Program name, OS and architecture are always shown.
* The package version is always shown.
* If there is git info at build time, the latest commit hash and commit date are shown.

Example outputs:
A homebrew binary, not built in git repo: hledger-ui 1.24, mac-aarch64
A CI release build, built in git repo:    hledger 1.24.1-g455b35293-20211210, mac-x86_64

API changes:

* new type synonyms ProgramName, PackageVersion, VersionString
* versionStringForProgname -> versionString with extra argument
* versionStringFor -> versionStringWith with extra argument
2021-12-10 12:42:40 -10:00
Simon Michael
46cc60779d ;dev: make throughput: output tweak 2021-12-09 12:24:19 -10:00