tomlcheck 0.1.0.14 → 0.1.0.17
raw patch · 5 files changed
+18/−15 lines, 5 filesdep ~htoml-megaparsecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: htoml-megaparsec
API changes (from Hackage documentation)
Files
- Justfile +5/−7
- README.md +8/−3
- appveyor.yml +1/−1
- stack.yaml +2/−2
- tomlcheck.cabal +2/−2
Justfile view
@@ -1,17 +1,15 @@+tokei:+ @tokei -e README.md -e TODO.md -e data/ -e Justfile . .travis.yml+ clean: sn c . -compare:- cabal new-build -O2 --constraint='tomlcheck +native'- cp $(fd -IH 'tomlcheck$' | tail -n1) ~/.local/bin- bench "rust-tomlcheck --file data/sample.toml" "tomlcheck --file data/sample.toml" "rust-tomlcheck --file data/bad.toml" "tomlcheck --file data/bad.toml"- 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"+ bench "tomlcheck --file data/sample.toml" upload: rm -rf dist/@@ -19,7 +17,7 @@ cabal upload $(fd '.tar.gz$' -IH) --publish install:- cabal new-build+ cabal new-build -O2 cp $(fd -IH 'tomlcheck$' | tail -n1) ~/.local/bin release:
README.md view
@@ -33,7 +33,12 @@ ```yaml test:- - wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.8/tomlcheck-x86_64-unkown-linux-gnu -O tomlcheck- - chmod a+x tomlcheck- - ./tomlcheck --file data/sample.toml+ - |+ if [ `uname` = "Darwin" ]+ then+ echo 'skipping tomlcheck download...'+ else+ wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.8/tomlcheck-x86_64-unkown-linux-gnu -O tomlcheck+ chmod a+x tomlcheck+ ./tomlcheck --file data/sample.toml ```
appveyor.yml view
@@ -18,7 +18,7 @@ - stack update - echo "" | stack --no-terminal install - ps: Get-ChildItem . -name -recurse tomlcheck.exe- - ps: Copy-Item c:\\stack\\.stack-work\\install\\afd8a623\\bin\\tomlcheck.exe tomlcheck-x86_64-pc-windows.exe+ - ps: Copy-Item c:\stack\.stack-work\install\e6126bd7\bin\tomlcheck.exe tomlcheck-x86_64-pc-windows.exe - ps: Push-AppveyorArtifact tomlcheck-x86_64-pc-windows.exe deploy:
stack.yaml view
@@ -1,9 +1,9 @@-resolver: lts-9.6+resolver: nightly-2017-10-13 packages: - './' extra-deps: - megaparsec-6.2.0- - htoml-megaparsec-1.0.1.8+ - htoml-megaparsec-1.0.1.11 - composition-prelude-0.1.1.0 flags: tomlcheck:
tomlcheck.cabal view
@@ -1,5 +1,5 @@ name: tomlcheck-version: 0.1.0.14+version: 0.1.0.17 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@@ -41,7 +41,7 @@ hs-source-dirs: src exposed-modules: Toml.Checker build-depends: base >= 4.8 && < 5- , htoml-megaparsec >= 1.0.1.8+ , htoml-megaparsec >= 1.0.1.11 , optparse-generic , megaparsec >= 6.0 , text