packages feed

tomlcheck 0.1.0.9 → 0.1.0.14

raw patch · 6 files changed

+19/−10 lines, 6 filesdep ~htoml-megaparsecPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: htoml-megaparsec

API changes (from Hackage documentation)

Files

.travis.yml view
@@ -36,6 +36,7 @@   - stack install hlint weeder  script:+  - stack update   - stack --no-terminal build --haddock --no-haddock-deps   - hlint .   - weeder .@@ -49,9 +50,15 @@   - echo $BINPATH   - mv $BINPATH tomlcheck-$TARGET   - ls tomlcheck-$TARGET-  - 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+    fi  deploy:   api_key:
Justfile view
@@ -6,10 +6,9 @@     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"     -#bench "rust-tomlcheck --file data/example.toml" "tomlcheck --file data/example.toml" "rust-tomlcheck --file data/good.toml" "tomlcheck --file data/good.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"@@ -26,6 +25,7 @@ release:     git tag "$(grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1)"     git push origin --tags+    git tag -d "$(grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1)"  name:     github-release edit -s $(cat .git-token) -u vmchale -r tomlcheck -n "$(madlang run ~/programming/madlang/releases/releases.mad)" -t "$(grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1)"
appveyor.yml view
@@ -15,6 +15,7 @@  test_script:   - stack setup > nul+  - 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
src/Toml/Checker.hs view
@@ -33,4 +33,3 @@         Left e  -> do             putStrLn $ parseErrorPretty e             exitWith (ExitFailure 1)-
stack.yaml view
@@ -3,7 +3,9 @@   - './' extra-deps:   - megaparsec-6.2.0-  - htoml-megaparsec-1.0.1.6+  - htoml-megaparsec-1.0.1.8   - composition-prelude-0.1.1.0-flags: {}+flags:+  tomlcheck:+    optimize: true extra-package-dbs: []
tomlcheck.cabal view
@@ -1,5 +1,5 @@ name:                tomlcheck-version:             0.1.0.9+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@@ -41,7 +41,7 @@   hs-source-dirs:      src   exposed-modules:     Toml.Checker   build-depends:       base >= 4.8 && < 5-                     , htoml-megaparsec >= 1.0.1.6+                     , htoml-megaparsec >= 1.0.1.8                      , optparse-generic                      , megaparsec >= 6.0                      , text