Commit Graph

768 Commits

Author SHA1 Message Date
Simon Michael
544bfd2090 ;make: nix-view-commits: update url 2021-07-07 13:19:29 -10:00
Simon Michael
f30cea32b9 ;make bench: fix on non-mac 2021-06-16 08:25:52 -10:00
Simon Michael
069e672a5c ;tools: update instructions for installing quickbench 2021-06-15 15:19:38 -10:00
Simon Michael
5ff6e0b618 ;make copy-bins-to-X: use period instead of hyphen 2021-03-17 18:15:09 -07:00
Simon Michael
e0d525c6fa ;make tag: simplify 2021-03-10 11:55:20 -08:00
Simon Michael
765ab0772e ;make functest: bump threads from 16 to 64
Runs them faster on machines with more cores (eg 22s -> 15s),
should be harmless elsewhere.
2021-01-29 12:09:02 -08:00
Simon Michael
fa5c270074 ;make functest: drop the timeout, it makes tests too unreliable 2021-01-29 11:51:40 -08:00
Simon Michael
4332893d1f ;make cabal*: drop this wildcard rule
(cherry picked from commit 1551988629)
2021-01-13 15:04:58 -08:00
Simon Michael
5842d47adc ;make functest: increase timeout to 30s, strangely unreliable at 10s 2021-01-04 18:11:01 -08:00
Simon Michael
5484c55053 ;make functest-PAT: don't hide successes in this mode 2021-01-04 15:45:58 -08:00
Simon Michael
14e12b83dc ;make functest*: $FUNCTESTEXE can override executable
Eg:
$ FUNCTESTEXE=hledger-1.20 make functest
2021-01-04 15:45:58 -08:00
Simon Michael
291c032195 ;make functest: add a 10s timeout to catch slow/hung tests 2021-01-04 15:28:52 -08:00
Simon Michael
0f275c7b41 ;make functest: hide successes again 2021-01-04 15:28:09 -08:00
Simon Michael
06b466d847 ci: also test compilation of bin/ add-on scripts 2020-12-30 08:59:03 -08:00
Simon Michael
6b353c47b0 ;make unittest: fix 2020-12-29 10:32:17 -08:00
Simon Michael
8a046aef5b ;make tag: don't tag project by default
What should go in the project changelog and when the
project's .version should update is still unclear,
more cleanup needed.

(cherry picked from commit c14e6a6544)
2020-12-29 09:40:40 -08:00
Simon Michael
6fc77ac095 ;make shakehelp-watch; fix some help strings 2020-12-15 11:46:42 -08:00
Simon Michael
70f48bf50f ;make test, bench: ignore if quickbench not installed 2020-12-14 09:57:13 -08:00
Simon Michael
e8dcc907c6 ;tools: make copy-bins-to-VER 2020-12-13 12:16:34 -08:00
Simon Michael
1bf80a500f ;make: new haddock rules 2020-12-09 14:08:56 -08:00
Simon Michael
bf613dbe4e ;tools: make tag-all -> tag, tag-project 2020-12-07 05:46:10 -08:00
Simon Michael
ec2a774b18 cli, lib: move functional tests into hledger/test/ 2020-11-16 08:47:41 -08:00
Simon Michael
d4152c52f0 ;make ghci-web-test, for debugging hledger-web test suite 2020-11-13 15:03:07 -08:00
Simon Michael
2d068662c1 ;make nix-view-commits 2020-09-10 18:07:40 -07:00
Simon Michael
11a63c0274 ;make quickbench: fix help 2020-09-10 18:07:40 -07:00
Simon Michael
72a6b67368 ;make: STACK environment variable can override stack command
Eg to run rules with a different snapshot:

  STACK="stack --stack-yaml=stack8.10.yaml" make functest
2020-09-07 16:13:21 -07:00
Simon Michael
5344913d04 ;make ghci[d]-shake: extra package needed sometimes 2020-09-07 09:23:42 -07:00
Simon Michael
465e8cbc51 ;make: update help 2020-09-07 09:23:42 -07:00
Simon Michael
5be0255eba ;make bench: run quieter, allow overriding BENCHEXES with env var 2020-08-29 13:57:04 -07:00
Simon Michael
4145bf35aa ;make functest now runs quickbench, with a warning 2020-08-21 08:18:26 -07:00
Simon Michael
a0c12a730f ;makefile: note useful looking lib 2020-08-08 12:07:06 -07:00
Simon Michael
bdc735fa3b ;make save-hledger* rules for saving executables useful for benchmarking 2020-07-10 12:19:30 -07:00
Simon Michael
aaa32f56a1 ;make help more quietly 2020-07-10 12:19:30 -07:00
Simon Michael
a7bb6b9207 ;make nix-hledger-version[s] 2020-06-22 08:00:48 -07:00
Simon Michael
08d7fe97f5 make: tag -> etags; add tag-all, tag-PKG 2020-06-21 10:23:07 -07:00
Simon Michael
b6e0994b46 ;make ghcversions 2020-06-07 11:59:36 -07:00
Simon Michael
99ffb07984 ;make gencabal, make genmanuals -> make cabal, make manuals 2020-06-07 11:59:36 -07:00
Simon Michael
a86a5c4f53 ;make stack-clean-all 2020-06-06 15:23:15 -07:00
Simon Michael
2ef11a1b7c ;make: update buildtest rules 2020-06-06 15:23:15 -07:00
Simon Michael
24c33f3105 ;make tag: include hledger-web hamlet templates 2020-05-29 19:04:27 -07:00
Simon Michael
36a2e311df ;make ghci[d]-shake: add regex dep 2020-05-23 07:06:02 -07:00
Simon Michael
58a088039d ;make clean: update 2020-04-20 13:13:06 -07:00
Simon Michael
3178a860f2 ;make cleanups; use the default GHCI again (8.8) 2020-04-06 18:01:02 -07:00
Simon Michael
7d980438b3 make ghcid-web-run 2020-04-06 18:00:25 -07:00
Simon Michael
7b8f0d16fd ;simplify stack.yaml filenames 2020-03-30 15:35:53 -07:00
Simon Michael
9c4ef58154 ;make [ghcid-]watch: a handy dev feedback command 2020-03-01 14:06:29 -08:00
Simon Michael
fad5b438d9 ; make ghci(-*): use ghci 8.10 for modern features
[ci skip]
2020-02-25 13:44:06 -08:00
Simon Michael
efc32138ac ;make manuals-watch
[ci skip]
2020-02-03 10:38:39 -08:00
Simon Michael
b9763b9bdd ;stack: simplify stack file names 2020-01-27 06:25:29 -08:00
Simon Michael
696a9f9b1b ;make site-watch: show commands being run
[ci skip]
2020-01-25 16:54:45 -08:00
Simon Michael
3e149deff2 ;make genmanuals: update
[ci skip]
2020-01-22 14:50:16 -08:00
Simon Michael
a1fbe0247a ;make site: regenerate web manuals first
[ci skip]
2020-01-22 05:47:35 -08:00
Simon Michael
056735a76a ;makefile: fix doctest-running rules, if doctests were enabled 2020-01-04 08:22:45 -08:00
Simon Michael
64470ba392 ;make *buildtest*: skip tests/benchmarks, save a little time & noise
[ci skip]
2019-12-28 13:32:54 -08:00
Simon Michael
d8c52c97d2 ;tools: fix make tag after tests rename 2019-12-01 08:14:28 -08:00
Simon Michael
ca4fade4af ;tests: re-add hledger-lib's tests to the cabal file, as unittests 2019-11-28 14:45:10 -08:00
Simon Michael
177e24c078 ;tools: update make ghcid-test[-PAT]
[ci skip]
2019-11-27 13:17:34 -08:00
Simon Michael
68c770af06 ;make: remove old site building stuff
[ci skip]
2019-09-15 17:16:58 -07:00
Simon Michael
4db14ef70f ;api: another round of hledger-api purging; fix the build 2019-09-11 14:49:22 -07:00
Simon Michael
d2db4818b1 ;make Clean: update
[ci skip]
2019-09-10 17:25:53 -07:00
Simon Michael
84cf3fe722 ;make site-watch: build and watch the new site, not the old one
[ci skip]
2019-09-10 16:59:26 -07:00
Simon Michael
2a2cec4c4a ;make tag: drop nonexistent path causing this to fail
[ci skip]
2019-09-02 07:17:34 -07:00
Simon Michael
f6fc58955e ;make: drop hledger-api from scripts
[ci skip]
2019-09-01 08:53:06 -07:00
Simon Michael
10157b8cd6 ;site: make site runs sphinx as well
[ci skip]
2019-08-26 09:37:03 -07:00
Simon Michael
7ff0fe738b ;site: make site a little less verbosely
[ci skip]
2019-08-25 08:47:09 -07:00
Simon Michael
5b89cfad23 ;site: make site runs shake verbosely
[ci skip]
2019-08-25 06:26:52 -07:00
Simon Michael
ece3d67ebf site: drop references to the github wiki
[ci skip]
2019-08-24 04:34:17 -07:00
Simon Michael
de9df350b4 make: add a small 10-txn sample file
[ci skip]
2019-08-17 18:35:10 +01:00
Simon Michael
fe5c49dc36 ;make quickprof: comment
[ci skip]
2019-08-01 18:31:39 +02:00
Simon Michael
bf6bd4003c ;make: clean up/fix hledgerprof/quickprof-CMD
[ci skip]
2019-07-26 00:48:09 +01:00
Simon Michael
91bccac64b ;make functest: show verbose progress again, in honour of stack 2
[ci skip]
2019-06-14 19:04:09 -07:00
Simon Michael
26ab750620 ;tools: make functest-PAT
[ci skip]
2019-06-13 10:12:03 -07:00
Simon Michael
9760126cb2 ;make tag: make SOURCEFILES include hledger-lib/Text etc.
And add "make sourcefiles", "make sourcedirs" rules for troubleshooting.
2019-06-06 15:17:01 -07:00
Simon Michael
7c4f45ac1f make tag: include all hledger-web hs files in tags 2019-05-23 22:25:05 -07:00
Simon Michael
157371fa00 ;make: add ghcid to tools list
[ci skip]
2019-05-21 12:32:58 -07:00
Simon Michael
14086dbd74 make site-watch: site-liverender & site-livereload in one command
[ci skip]
2019-04-25 08:10:30 -07:00
Simon Michael
e9d2b56fb2 make samplejournals: more; don't remake ones used for tests 2019-04-24 07:55:20 -07:00
Simon Michael
5911c73757 make: use profiterole, not profiteur
[ci skip]
2019-04-20 09:25:36 -07:00
Simon Michael
19e8af903f make: cleanups
[ci skip]
2019-03-06 17:50:17 -08:00
Simon Michael
c175f0268a make site: remove a bashism
[ci skip]
2019-03-06 09:50:42 -08:00
Simon Michael
7b94b0c9b2 make site: log to site.log again
[ci skip]
2019-03-06 09:30:54 -08:00
Simon Michael
7af5ee4863 tools: move site.sh into shake; stop running just-pushed shakefile
Running the just pushed Shake.hs was too insecure.

[ci skip]
2019-03-06 09:30:54 -08:00
Simon Michael
51d3395564 make: rename sub-makefiles; start moving site script to make/shake
[ci skip
2019-03-05 18:43:04 -08:00
Simon Michael
b2d5019e06 make: fix ghc invocations
[ci skip]
2019-02-24 16:22:51 -08:00
Simon Michael
024bd944a1 make: tweak build flags
[ci skip]
2019-02-17 19:50:59 -08:00
Simon Michael
d79bd77feb site: wiki integration - render wiki pages within main site
The github wiki pages are now rendered as part of the website's static
content, like the main site pages (and using the same pandoc markdown).
Building the site now requires that a copy of the wiki is checked out
under wiki/.

Github wiki links are converted to suitable relative links,
in all pages (not just wiki pages).

`make site/index.md-push`, which updated the wiki links on the website
home page and committed/pushed it, is now `./Shake site/index.md`, and
doesn't commit/push.

Shake.hs now also depends on the `regex` package.

[ci skip]
2019-02-09 19:28:53 -08:00
Simon Michael
8ba3e0ba1e make: add main website pages to site-liverender, tags
[ci skip]
2019-02-06 10:06:17 -08:00
Simon Michael
646ec83f99 make site/index.md-push: restore (and consolidate), still used
[ci skip]
2019-02-05 11:44:53 -08:00
Simon Michael
18ffa65168 tools: move setversion to shake, use PKG/.version, set upper bounds
./Shake setversion will now propagate the version number in each
package's .version file, to all the places in that package where it's
needed (ie the defs.m4 file and multiple places in the package.yaml
file. Also it now updates upper bounds on other hledger packages
to the next major version. (The new lower/upper bounds may not always
be what's desired, manual review required.)

[ci skip]
2019-02-04 18:47:27 -08:00
Simon Michael
3f4473639a doc: lib.m4 -> common.m4; restore required _FLAGS_ macro
[ci skip]
2019-02-04 14:44:35 -08:00
Simon Michael
c94cee6aae make: showversions; more cleanup
[ci skip]
2019-02-03 17:19:23 -08:00
Simon Michael
384c555f99 make, shake: refer to each other's help
[ci skip]
2019-02-03 17:01:57 -08:00
Simon Michael
1eb9562204 make: site-liverender; add contrib guide to tags
[ci skip]
2019-02-03 16:56:54 -08:00
Simon Michael
11ce2aff59 doc: update version number notes, move to contrib guide
[ci skip]
2019-02-03 16:51:27 -08:00
Simon Michael
1ff2516a84 make: clean out old stuff
[ci skip]
2019-02-03 16:09:42 -08:00
Simon Michael
47f3ebf25a api: remove some hard-coded version numbers 2019-02-03 15:19:42 -08:00
Simon Michael
579fba0a4f make: updateembeddeddocs
[ci skip]
2019-02-01 17:23:21 -08:00
Simon Michael
89bb4816c6 shake: move changelog scripts to Shake, enhance
New shake targets:
./Shake changelogs
./Shake CHANGES.md
./Shake CHANGES.md-dry
./Shake PKG/CHANGES.md
./Shake PKG/CHANGES.md-dry

Enhancements:
- removes the changelog's previous top heading
- ignores commits like "changelog", "doc: update changelogs"..
- does not write temporary files
- dry run mode

[ci skip]
2019-02-01 10:36:49 -08:00
Simon Michael
29c41dc84b make: avoid sed-related error message, mostly
[ci skip]
2019-01-31 15:55:28 -08:00
Simon Michael
c8246e7323 cli: command help: reduce width, line wrapping
cmdargs wraps any lines longer than 78 characters.  To (mostly) avoid
this, we now display verbatim blocks unindented, and some of
register's examples have been altered to make them fit.
2019-01-30 17:58:13 -08:00