diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-27 18:07:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-27 18:07:50 -0400 |
commit | dac01dbcd867ad4b0f0a65db07c78028e0f578e2 (patch) | |
tree | a86e2acf60e4b12cf507edaf61d4eb7950b34ec2 /doc/design/assistant/blog/day_200__release_day.mdwn | |
parent | 35b75bee95cac48535113b55093fe7bcb8e547bd (diff) |
releasing version 4.201302274.20130227
Diffstat (limited to 'doc/design/assistant/blog/day_200__release_day.mdwn')
-rw-r--r-- | doc/design/assistant/blog/day_200__release_day.mdwn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/design/assistant/blog/day_200__release_day.mdwn b/doc/design/assistant/blog/day_200__release_day.mdwn new file mode 100644 index 000000000..99aebcf70 --- /dev/null +++ b/doc/design/assistant/blog/day_200__release_day.mdwn @@ -0,0 +1,19 @@ +As well as making a new release, I rewrote most of the Makefile, so that it +uses cabal to build git-annex. This avoids some duplication, and most +importantly, means that the Makefile can auto-detect available libraries +rather than needing to juggle build flags manually. Which was becoming a +real pain. + +I had avoided doing this before because cabal is slow for me on my little +netbook. Adding ten seconds to every rebuild really does matter! But I came +up with a hack to let me do incremental development builds without the +cabal overhead, by intercepting and reusing the ghc command that cabal +runs. + +There was also cabal "fun" to get the Android build working with cabal. +And more fun involving building the test suite. For various reasons, I +decided to move the test suite into the git-annex binary. So you can run +`git annex test` at any time, any place, and it self-tests. That's a neat +trick I've seen one or two other programs do, and probably the nicest thing +to come out of what was otherwise a pretty yak shaving change that involved +babysitting builds all day. |