Merge branch 'release-0.22.1'

Conflicts:
	NEWS.md
	hledger-lib/hledger-lib.cabal
This commit is contained in:
Simon Michael 2014-01-08 15:34:20 -08:00
commit 2160941c86
6 changed files with 36 additions and 21 deletions

View File

@ -349,7 +349,7 @@ committest: hlinttest unittest doctest functest haddocktest warningstest quickca
# thorough pre-release tests - run before release # thorough pre-release tests - run before release
# consider hiding dev-build symlinks in Hledger/ first # consider hiding dev-build symlinks in Hledger/ first
releasetest: Clean unittest doctest functest warningstest fullcabaltest haddocktest releasetest: Clean unittest functest fullcabaltest haddocktest #warningstest doctest
hlinttest hlint: hlinttest hlint:
hlint --hint=hlint --report=hlint.html $(SOURCEFILES) hlint --hint=hlint --report=hlint.html $(SOURCEFILES)
@ -430,8 +430,16 @@ quickcabaltest:
# make sure cabal is happy in all possible ways # make sure cabal is happy in all possible ways
fullcabaltest: fullcabaltest:
(for p in $(PACKAGES); do (echo "testing $$p package" && cd $$p && cabal clean && cabal check && cabal install && cabal sdist && cabal upload dist/$$p-$(VERSION).tar.gz --check -v3); done \ (for p in $(PACKAGES); do ( \
printf "\ntesting $$p package\n" \
&& cd $$p \
&& cabal clean \
&& cabal check \
&& cabal install \
&& cabal sdist \
); done \
&& echo $@ PASSED) || echo $@ FAILED && echo $@ PASSED) || echo $@ FAILED
# && cabal upload dist/$$p-$(VERSION).tar.gz --check -v3 \
# run simple performance benchmarks without saving results # run simple performance benchmarks without saving results
# Requires some commands defined in bench.tests and some BENCHEXES defined above. # Requires some commands defined in bench.tests and some BENCHEXES defined above.
@ -818,7 +826,7 @@ DOWNLOAD.md: $(VERSIONFILE)
perl -p -e "s/hledger(|-chart|-web|-vty)-[0-9.]+-/hledger\1-$(VERSION)-/g" -i $@ perl -p -e "s/hledger(|-chart|-web|-vty)-[0-9.]+-/hledger\1-$(VERSION)-/g" -i $@
tagrelease: tagrelease:
git tag -a $(VERSION) git tag $(VERSION)
hackageupload-dry: hackageupload-dry:
for p in $(PACKAGES); do cabal upload $$p/dist/$$p-$(VERSION).tar.gz -v2 --check; done for p in $(PACKAGES); do cabal upload $$p/dist/$$p-$(VERSION).tar.gz -v2 --check; done

View File

@ -8,6 +8,14 @@ title: hledger news
- web: new option `--static-root` to set the base url for static files - web: new option `--static-root` to set the base url for static files
## 2014/1/6 hledger 0.22.1
- require the latest pretty-show so hledger installation no longer
needs an upgraded version of happy, and the docs build on hackage
- require regex-tdfa directly instead of regex-compat-tdfa,
simplifying Debian packaging
## 2013/12/13 hledger 0.22 ## 2013/12/13 hledger 0.22
**New:** **New:**

View File

@ -1 +1 @@
0.22 0.22.1

View File

@ -1,5 +1,5 @@
name: hledger-lib name: hledger-lib
version: 0.22 version: 0.22.1
stability: beta stability: beta
category: Finance category: Finance
synopsis: Core data types, parsers and utilities for the hledger accounting tool. synopsis: Core data types, parsers and utilities for the hledger accounting tool.
@ -67,7 +67,7 @@ library
,old-locale ,old-locale
,old-time ,old-time
,parsec ,parsec
,pretty-show ,pretty-show >= 1.6.4
,regex-tdfa ,regex-tdfa
,regexpr >= 0.5.1 ,regexpr >= 0.5.1
,safe >= 0.2 ,safe >= 0.2
@ -99,7 +99,7 @@ test-suite tests
, old-locale , old-locale
, old-time , old-time
, parsec , parsec
, pretty-show , pretty-show >= 1.6.4
, regex-tdfa , regex-tdfa
, regexpr , regexpr
, safe , safe

View File

@ -1,5 +1,5 @@
name: hledger-web name: hledger-web
version: 0.22 version: 0.22.1
stability: beta stability: beta
category: Finance category: Finance
synopsis: A web interface for the hledger accounting tool. synopsis: A web interface for the hledger accounting tool.
@ -66,7 +66,7 @@ flag library-only
Default: False Default: False
library library
cpp-options: -DVERSION="0.22" cpp-options: -DVERSION="0.22.1"
if flag(dev) || flag(library-only) if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT cpp-options: -DDEVELOPMENT
@ -109,8 +109,8 @@ library
Hledger.Web.Options Hledger.Web.Options
-- Setup -- stops yesod devel complaining, requires build-depends: Cabal -- Setup -- stops yesod devel complaining, requires build-depends: Cabal
build-depends: build-depends:
hledger == 0.22 hledger == 0.22.1
, hledger-lib == 0.22 , hledger-lib == 0.22.1
, base >= 4 && < 5 , base >= 4 && < 5
, bytestring , bytestring
, clientsession , clientsession
@ -157,7 +157,7 @@ executable hledger-web
if flag(library-only) if flag(library-only)
Buildable: False Buildable: False
cpp-options: -DVERSION="0.22" cpp-options: -DVERSION="0.22.1"
if flag(dev) if flag(dev)
cpp-options: -DDEVELOPMENT cpp-options: -DDEVELOPMENT
@ -201,8 +201,8 @@ executable hledger-web
Hledger.Web.Options Hledger.Web.Options
build-depends: build-depends:
hledger == 0.22 hledger == 0.22.1
, hledger-lib == 0.22 , hledger-lib == 0.22.1
, base >= 4 && < 5 , base >= 4 && < 5
, bytestring , bytestring
, clientsession , clientsession

View File

@ -1,6 +1,6 @@
name: hledger name: hledger
-- also in cpp-options below -- also in cpp-options below
version: 0.22 version: 0.22.1
stability: beta stability: beta
category: Finance category: Finance
synopsis: The main command-line interface for the hledger accounting tool. synopsis: The main command-line interface for the hledger accounting tool.
@ -41,7 +41,7 @@ flag threaded
Default: True Default: True
library library
cpp-options: -DVERSION="0.22" cpp-options: -DVERSION="0.22.1"
ghc-options: -W ghc-options: -W
-- should be the same as below -- should be the same as below
exposed-modules: exposed-modules:
@ -62,7 +62,7 @@ library
Hledger.Cli.Stats Hledger.Cli.Stats
-- should be the same as below -- should be the same as below
build-depends: build-depends:
hledger-lib == 0.22 hledger-lib == 0.22.1
,base >= 4.3 && < 5 ,base >= 4.3 && < 5
-- ,cabal-file-th -- ,cabal-file-th
,containers ,containers
@ -113,13 +113,13 @@ executable hledger
Hledger.Cli.Print Hledger.Cli.Print
Hledger.Cli.Register Hledger.Cli.Register
Hledger.Cli.Stats Hledger.Cli.Stats
cpp-options: -DVERSION="0.22" cpp-options: -DVERSION="0.22.1"
ghc-options: -W ghc-options: -W
if flag(threaded) if flag(threaded)
ghc-options: -threaded ghc-options: -threaded
-- should be the same as above -- should be the same as above
build-depends: build-depends:
hledger-lib == 0.22 hledger-lib == 0.22.1
,base >= 4.3 && < 5 ,base >= 4.3 && < 5
,containers ,containers
,cmdargs >= 0.10 && < 0.11 ,cmdargs >= 0.10 && < 0.11
@ -162,9 +162,8 @@ test-suite tests
, old-locale , old-locale
, old-time , old-time
, parsec , parsec
, pretty-show , pretty-show >= 1.6.4
, process , process
, regex-compat-tdfa
, regexpr , regexpr
, safe , safe
, shakespeare-text , shakespeare-text