Simon Michael
3e28f6001f
tools: more top-level build fixes; remove chart/vty rules
2012-10-13 19:47:16 +00:00
Simon Michael
f03b020e2f
set version with CPP instead of cabal-file-th; make building more robust
...
hledger and hledger-web were reading their version number (and program
name) from their cabal files at compile time using cabal-file-th,
which allowed the version number be maintained in one place (per
package).
This meant you had to be in same directory as the cabal file when
building, which made life more complicated, eg emacs compilation mode
could not jump to errors. Also, it slowed down building slightly, and
is a factor in hledger Debian packages being unavailable on a number
of platforms (we also use TH for report templates).
Now, the build version is set with a CPP VERSION flag, which seems
simpler overall. For cabal builds, this needs to be configured
manually in a few more places in each cabal file. For makefile builds,
it is set it to the name of the most recent darcs tag (which should be
more useful than the old behaviour). If not set, it defaults to the
blank string, useful eg for haddock. And, all makefile builds now run
from the top directory.
2012-10-13 19:21:17 +00:00
Simon Michael
257732bf43
tools: build rule updates
2012-10-08 16:52:49 +00:00
Sergei Trofimovich
a433910a60
Makefile: allow passing arbitrary HCFLAGS as ghc options
...
It is handly to check things inplace:
hledger $ make
cd hledger; ghc --make hledger-cli.hs -o ../bin/hledger -DMAKE -W -fwarn-tabs -fno-warn-name-shadowing -i../hledger-lib -i../hledger -i../hledger-web -L/usr/lib -DPATCHLEVEL=0 +RTS -M200m -RTS
../hledger-lib/Hledger/Utils.hs:30:8:
Ambiguous module name `Control.Monad.Error':
it was found in multiple packages: mtl-2.1.2 monads-fd-0.1.0.4
make: *** [bin/hledger] Error 1
hledger $ make HCFLAGS="-hide-package monads-fd"
<all ok>
2012-08-21 07:17:24 +00:00
Simon Michael
577981367b
tools: version fix
2012-10-21 22:23:06 +00:00
Simon Michael
6704d3ae0e
tools: include docs in tags
2012-03-11 18:39:26 +00:00
Simon Michael
08bb23bcfc
site: more dev doc fixes
2012-03-11 20:16:45 +00:00
Simon Michael
95916e1f60
tools: view framed haddock by default
2012-03-29 23:38:36 +00:00
Simon Michael
396f8cfa9b
tools: drop old PRODUCTION flag
2012-04-03 17:25:24 +00:00
Simon Michael
a55046b4d6
tools: make autotest-PAT to auto-compile & run only tests matching PAT
2012-05-27 18:15:36 +00:00
Simon Michael
130909c473
tools: makefile updates
2012-05-14 19:24:03 +00:00
Simon Michael
8cbfad7e20
tools: allow auto build & test with older GHC versions
2012-05-06 20:39:47 +00:00
Simon Michael
acc5139c54
tools: makefile updates
2012-04-03 17:12:47 +00:00
Simon Michael
f595c2ceed
tools: makefile updates
2012-03-05 07:23:35 +00:00
Simon Michael
e12e8c0c0f
tools: make quite sure auto builds as quickly as possible
2012-03-11 18:41:24 +00:00
Simon Michael
f923789003
remove 6.12.3 from make rule
2012-05-29 00:53:52 +00:00
Simon Michael
7bf4f2b747
tools: makefile updates
2012-03-29 20:41:47 +00:00
Simon Michael
88f5eaa03c
tools: make tweaks, use a known-good version of shelltest
2012-03-28 18:16:46 +00:00
Simon Michael
e093431b4d
tools: easier building and testing with multiple GHC versions
2012-03-26 18:18:18 +00:00
Simon Michael
7f3b990394
docs: fix api docs
2012-03-07 16:05:04 +00:00
Simon Michael
51504e5711
NOTES -> NOTES.org
2012-02-23 14:47:10 +00:00
Simon Michael
471293c0d7
tools: fix make ghci
2012-01-04 12:01:21 +00:00
Simon Michael
795d85f36e
tools: update/simplify make install
2012-01-29 18:36:51 +00:00
Simon Michael
4d4e6355b5
tools: fix make clean
2012-01-30 04:30:41 +00:00
Simon Michael
2f9669c248
tools: make clean should not remove virthualenv files
2012-01-29 18:52:31 +00:00
Simon Michael
679c9fce8f
begin demoting hledger-vty and hledger-chart to unmaintained "extras" status
2012-01-30 04:22:11 +00:00
Simon Michael
b151eef2b7
tools: fixes for version updating in web pages
2012-01-31 05:17:15 +00:00
Simon Michael
c686645fab
refactor: update version number handling
2012-01-31 06:01:31 +00:00
Simon Michael
df7fc8877f
tools: adapt makefile for cabal-file-th, builds now happen from package dirs
2011-10-19 19:55:01 +00:00
Simon Michael
aa30f25887
tools: one more make fix
2011-10-19 20:00:08 +00:00
Simon Michael
5bd0dcc113
tools: update web file paths
2011-09-12 22:45:02 +00:00
Simon Michael
f2ce07145f
tools: hledger-web-production build
2011-09-13 00:10:00 +00:00
Simon Michael
48db255444
tools: hakyll.hs -> site.hs to keep it working on mac
2011-09-22 22:24:02 +00:00
Simon Michael
7e753e13b5
tools: dayssincerelease.hs -> dayssincetag.hs
2011-09-25 18:29:23 +00:00
Simon Michael
7768efd0b5
tools: wine reminder
2011-09-26 20:51:09 +00:00
Simon Michael
8cb9774d2a
docs: fix wrong version
2011-09-02 15:17:22 +00:00
Simon Michael
fcaa62d931
tools: set-up-rc-repo make rule
2011-04-22 23:05:54 +00:00
Simon Michael
4f3f5c0132
site: update haddock as well as website on each commit
2011-06-03 17:08:09 +00:00
Simon Michael
555a594bdf
tools: makefile fixes, don't break make when hledger source has errors
2011-06-06 19:07:03 +00:00
Simon Michael
343b5b0a4c
tools: update binary building rules
2011-04-22 22:57:00 +00:00
Trygve Laugstol
337b5626f2
Makefile: Adding ghci-vty target to get a debug prompt for hledger-vty.
2011-06-20 20:36:50 +00:00
Simon Michael
cd68f43be3
cli: rename hledger.hs (but not the executable) to avoid mac build issues
2011-07-17 23:21:48 +00:00
Simon Michael
81db822424
tools: include missing source files in tags etc.
2011-07-19 00:56:15 +00:00
Simon Michael
9ea1f4a98b
tools: update file lists
2011-08-07 22:14:14 +00:00
Simon Michael
b2c4b8bfea
tools: include web templates in tags
2011-06-04 17:01:45 +00:00
Simon Michael
452ea75432
tools: remove local stuff
2011-08-07 22:17:59 +00:00
Simon Michael
46d53f4fcd
tools: fix autotest rule
2011-08-09 01:54:47 +00:00
Simon Michael
ec7e1f7c49
tools: sp macro
2011-08-07 22:18:54 +00:00
Simon Michael
6a895d94cc
tools: check for sp and explain how to get it when needed
2011-06-23 18:15:01 +00:00
Simon Michael
a447e2c56b
tools: update functest rule for shelltest 1.0, hide successes
2011-08-15 15:22:01 +00:00
Simon Michael
76a661e855
tools: update test: rule for shelltestrunner head
2011-06-14 22:32:26 +00:00
Simon Michael
e6e7cef85c
tools: easier browser switching
2011-06-13 19:50:10 +00:00
Simon Michael
559d7ba2c9
tools: more mnemonic LOC rule
2011-08-19 18:39:58 +00:00
Simon Michael
4c930edd94
tools: functest rule fix
2011-08-25 21:51:54 +00:00
Simon Michael
1cf1c7f506
site: upgrade to hakyll 3
2011-08-28 18:03:20 +00:00
Simon Michael
2daa56dcb3
site: hledger.org/api-doc -> hledger.org/api
2011-09-01 22:18:59 +00:00
Simon Michael
5bad926897
docs: simplify, drop internal haddocks entirely
2011-08-30 13:48:24 +00:00
Simon Michael
e09bb6f7a6
tools: haddock, hscolour fixes
2011-06-06 19:06:26 +00:00
Simon Michael
e6a15e8afc
tools: fix haddock building
2011-08-19 18:55:26 +00:00
Simon Michael
f91e905a24
tools: fixes for haddock, not working yet
2011-06-03 17:10:27 +00:00
Simon Michael
1af00ce3bd
tools: note an issue with haddock building
2011-04-27 02:22:43 +00:00
Simon Michael
5497500bd2
tools: more source files for haddock
2011-07-19 01:00:08 +00:00
Simon Michael
955c39718f
tools: more searchable variable name
2011-08-19 18:39:13 +00:00
Simon Michael
853c83ea4a
tools: update haddock and test rules
2011-04-22 19:04:47 +00:00
Simon Michael
454a6639c6
tools: haddock rules fix
2011-08-19 19:58:56 +00:00
Simon Michael
b486e9cfbf
tools: haddock rule alias
2011-08-07 22:18:30 +00:00
Simon Michael
edf8405910
tools: small updates
2011-09-02 01:00:53 +00:00
Simon Michael
2ff1925df7
tools: fix binary build rules
2011-03-12 23:30:57 +00:00
Simon Michael
84b251c534
tools: fix accidentally recorded conflict markers
2010-12-10 22:34:01 +00:00
Simon Michael
5fe830d703
tools: update linux binary building
2010-12-10 22:00:42 +00:00
Simon Michael
5c403180dd
tools: update mac binary building
2010-12-10 22:07:52 +00:00
Simon Michael
210d476edf
tools: don't bother trying to set version strings automatically
2010-12-06 23:35:44 +00:00
Simon Michael
1cf3692016
tools: update version updating
2010-12-06 18:37:00 +00:00
Simon Michael
9e6625555c
tools: savehelp make rule
2011-04-22 16:16:31 +00:00
Simon Michael
c8e84b3a3a
tools: clean up coverage report scripts
2011-04-22 18:47:12 +00:00
Simon Michael
d0efde5429
tools: fix up the releasestats make rule
2011-04-22 18:47:57 +00:00
Simon Michael
f0890a9281
tools: makefile updates
2011-04-18 07:26:58 +00:00
Simon Michael
b3f996544a
docs: document web reloading and handling of parse errors
2010-12-07 20:01:54 +00:00
Simon Michael
f24decf73a
tools: misc building updates
2010-12-10 22:09:32 +00:00
Simon Michael
fe4152b8cb
site: fix download links
2010-09-06 21:27:42 +00:00
Simon Michael
6bb8c8a114
tools: report cleanups, update coverage report with other code docs
2010-11-19 22:04:20 +00:00
Simon Michael
97e5c88ccc
site: add Hledger.Chart to haddocks
2010-11-26 20:36:48 +00:00
Simon Michael
54f07f6ae7
tools: overhaul haddock generation, publish combined api & internal haddocks
2010-11-19 21:39:17 +00:00
Simon Michael
b8f9ea74aa
tools: update source files list
2010-12-05 21:14:45 +00:00
Simon Michael
147b7f2d8a
tools: tweak for web testing
2010-12-06 18:33:53 +00:00
Simon Michael
2f0877bc52
tools: update version updating & binary building, no longer set version strings automatically
2010-12-07 01:54:51 +00:00
Simon Michael
3fb5ff3dbd
tools: makefile
2010-11-19 17:37:28 +00:00
Simon Michael
6dbb489890
tools: fix tag file list
2010-09-24 02:06:58 +00:00
Simon Michael
e5bc5516b2
tools: makefile updates
2010-11-26 19:35:13 +00:00
Simon Michael
f5db547695
tools: more build rules
2010-11-29 01:15:08 +00:00
Simon Michael
2f7bde068e
tools: more post-packagegeddon makefile repairs
2010-11-14 19:40:57 +00:00
Simon Michael
2a98241e2f
tools: small make rule fixes
2010-11-13 00:07:20 +00:00
Simon Michael
eb84e2fedf
tools: updated autotest and autoweb rules, better fixperms, install is default rule
2010-09-10 01:57:41 +00:00
Simon Michael
f617ad82ad
tools: remove wrongly added local bits
2010-09-09 15:53:48 +00:00
Simon Michael
9cb716d002
packagegeddon.. split off web/chart/vty, move hledger to a subdir
2010-09-09 22:54:34 +00:00
Simon Michael
8deb3d2e42
tools: misc. updates to release and platform binary rules
2010-09-06 21:00:19 +00:00
Simon Michael
f9bc4019a0
tools: fix pushbinary location
2010-09-05 23:52:18 +00:00
Simon Michael
28620d5041
tools: fix non-portable syntax
2010-07-17 23:14:36 +00:00
Simon Michael
68eef5f810
tools: fix hledgerwin rule
2010-07-18 18:44:59 +00:00
Simon Michael
9998d51aec
tools: more binary-building cleanup
2010-07-18 00:08:30 +00:00