Commit Graph

780 Commits

Author SHA1 Message Date
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
Simon Michael
bb249115ba dev: make ghci[d]-ui uses ghc 8.10 to avoid 9.0 failures 2021-12-08 16:57:42 -10:00
Simon Michael
35c1c9b6a2 pkg: progress towards supporting GHC 9.2 and newer libs (#1774)
hledger-lib builds, hledger's deps don't (shakespeare).
2021-12-06 12:32:50 -10:00
Simon Michael
915136a599 ;tools: make throughput-dev 2021-11-26 07:20:39 -10:00
Simon Michael
8d618f0821 ;tools: make throughput[-EXE] improvements 2021-11-26 07:13:20 -10:00
Simon Michael
f469785c97 ;imp: tools: make throughput 2021-11-20 22:55:16 -10:00
Simon Michael
fc8e482de5 ;make: install-as-FOO: build executables and save as bin/hledger*-FOO 2021-10-03 22:55:10 -10:00
Simon Michael
b63d1b84de ;make: site: revert 2021-09-27 12:17:11 -10:00
Simon Michael
5b437ea20d ;tools: make site(-watch): add orgfiles 2021-09-25 12:57:38 -10:00
Simon Michael
14c19c398b ;tools: make copy-exe*: name them -SUFF not .SUFF
Breaks my usual convention of hledger-foo being an addon command, but
-VERSION is too common (and matches the make target that you type).
2021-09-22 12:13:50 -10:00
Simon Michael
e6b25bf9f3 ;tools: revert "make site" for now 2021-09-19 07:53:04 -10:00
Simon Michael
87b532b43d ;imp: tools: ./Shake site builds the website 2021-09-19 06:59:51 -10:00