Skip to content

Commit

Permalink
for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa McHale committed Oct 16, 2017
1 parent ae45ec2 commit 34136c0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ compare:

next:
@export VERSION=$(cat tomlcheck.cabal | grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1 | awk -F. '{$NF+=1; print $0}' | sed 's/ /\./g') && echo $VERSION && sed -i "2s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" tomlcheck.cabal
git commit -am "for release"

bench:
bench "tomlcheck --file data/example.toml" "tomlcheck --file data/good.toml"
Expand Down
8 changes: 6 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
~~- [ ] bash script to automatically download?~~
- [ ] example for travis CI
- [ ] flycheck support
- [ ] toml formatter
- [ ] linter (?)
- [ ] particularly indentation
- [x] example for travis CI
- [x] fix pseudo-space leak
- [ ] consider optparse-applicative for completions etc.
- [ ] verify that keys aren't defined twice (verbessern) when keys are defined
inline.
- [ ] exit codes
- [x] exit codes
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ packages:
- './'
extra-deps:
- megaparsec-6.2.0
- htoml-megaparsec-1.0.1.7
- htoml-megaparsec-1.0.1.8
- composition-prelude-0.1.1.0
flags:
tomlcheck:
Expand Down
4 changes: 2 additions & 2 deletions tomlcheck.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: tomlcheck
version: 0.1.0.13
version: 0.1.0.14
synopsis: Command-line tool to check syntax of TOML files
description: This is a command-line wrapper around htoml-megaparsec.
It is intended to be used as a syntax checker that can be
Expand Down Expand Up @@ -41,7 +41,7 @@ library
hs-source-dirs: src
exposed-modules: Toml.Checker
build-depends: base >= 4.8 && < 5
, htoml-megaparsec >= 1.0.1.7
, htoml-megaparsec >= 1.0.1.8
, optparse-generic
, megaparsec >= 6.0
, text
Expand Down

0 comments on commit 34136c0

Please sign in to comment.