Commit Graph

640 Commits

Author SHA1 Message Date
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
Simon Michael
c8b0c9accd make: ghci-shake
[ci skip]
2019-01-30 09:09:52 -08:00
Simon Michael
a37c18e5c7 make: include Shake.hs in tags 2019-01-26 16:33:51 -08:00
Simon Michael
0362377960 make: exclude func. test commits from project changelog
[ci skip]
2019-01-26 11:29:49 -08:00
Simon Michael
11dbe61e90 make: cleanup
[ci skip]
2019-01-26 07:36:40 -08:00
Simon Michael
5aafc186b6 make: prefixes no longer removed
[ci skip]
2019-01-26 07:32:29 -08:00
Simon Michael
ed709d68ca make: new changelog update process
"make changelogs" updates the project-wide and package changelogs,
inserting new commits at the top, formatted as changelog entries.

New commits means commits touching that directory, since the tag
version or commit hash which is the first word in the changelog's
previous top-most heading.

[ci skip]
2019-01-26 07:15:29 -08:00
Simon Michael
cb3f202922 make: comments
[ci skip]
2019-01-25 18:41:46 -08:00
Simon Michael
8d03adc5ad make: include doc files and hpack/cabal files in tags again
[ci skip]
2019-01-25 12:45:21 -08:00
Simon Michael
2f2b68f1cd make: site-livereload, make it show up in make help 2019-01-22 13:36:27 -08:00
Simon Michael
3267b640a2 make: update home page rule with new wiki page name 2019-01-19 16:50:11 -08:00
Simon Michael
adf8d8cddb make: fix help typo 2018-12-10 10:56:33 +00:00
Simon Michael
66549a526a make: gencabal: no need for old ghc now presumably
[ci skip]
2018-12-03 15:52:03 -08:00
Simon Michael
2f8aa8d536 make: changes-*: add markdown line breaks after first lines
[ci skip]
2018-12-03 09:27:19 -08:00
Simon Michael
5cfe5456d6 make: note IDEA ^M issue
[ci skip]
2018-12-03 09:26:51 -08:00
Simon Michael
45b8d4c0de make: clarify comment 2018-12-01 16:29:31 -08:00
Simon Michael
7114da4baf make: new changes-* rules 2018-11-25 21:05:55 -08:00
Simon Michael
5945c3c44f tools: make: reorder build test rules 2018-10-24 10:35:12 -07:00
Simon Michael
944a49d359 tools: make: drop hunittest rule
[ci skip]
2018-09-09 08:35:03 -07:00
Simon Michael
73d39d02c7 tools: make: clarify doctest/haddocktest help (#866)
[ci skip]
2018-09-09 08:33:06 -07:00
Simon Michael
f80f463439 tools: make help-*: just grep make rules, case insensitively 2018-08-18 19:22:15 +01:00
Simon Michael
7e1ccd4540 tools: fix make ghci-api 2018-08-18 13:40:01 +01:00
Simon Michael
e79c58882a tools: make ghcid-test-TESTPATTERN: run only some tests via ghcid 2018-08-17 09:37:09 +01:00
Simon Michael
77ad384fcd tools: make: tweak quotes for easier copy/paste 2018-08-15 11:24:52 +01:00
Simon Michael
ebe2d52965 tools: make functest: build hledger and test that, without installing 2018-08-14 16:05:06 +01:00
Simon Michael
8a4fb59aaa tools: make ghci-doctest: fix rule help 2018-08-03 19:05:14 +01:00
Simon Michael
0135f8c863 tools: make doctest: use default snapshot/ghc 8.4, mention mac workaround 2018-08-03 19:05:11 +01:00
Simon Michael
39aed387e9 tools: make functest: exclude test files/dirs beginning with _
[ci skip]
2018-07-24 14:05:23 +01:00
Simon Michael
21503717cf tools: make installtest, runs hledger-install.sh from ~
[ci skip]
2018-07-02 07:49:20 +01:00