tomlcheck 0.1.0.18 → 0.1.0.19
raw patch · 5 files changed
+18/−21 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- .travis.yml +2/−9
- Justfile +1/−1
- README.md +2/−10
- sh/check +11/−0
- tomlcheck.cabal +2/−1
.travis.yml view
@@ -50,15 +50,7 @@ - echo $BINPATH - mv $BINPATH tomlcheck-$TARGET - ls tomlcheck-$TARGET- - |- 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+ - curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s deploy: api_key:@@ -71,4 +63,5 @@ branches: only:+ - master - /\d+\.\d+\.\d+\.\d+.*$/
Justfile view
@@ -5,7 +5,7 @@ sn c . 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+ @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 && sed -i "4,8s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" sh/check git commit -am "for release" bench:
README.md view
@@ -29,16 +29,8 @@ ### Travis -A sample script for your `.travis.yml` file:+Add the following your `.travis.yml` file to check a `.toml` file: ```yaml-test:- - |- 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+ - curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s ```
+ sh/check view
@@ -0,0 +1,11 @@+#!/usr/bin/env sh+if [ "$(uname)" = "Darwin" ]+then+ wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.19/tomlcheck-x86_64-apple-darwin -O tomlcheck+ chmod a+x tomlcheck+ ./tomlcheck --file data/sample.toml+else+ wget https://github.com/vmchale/tomlcheck/releases/download/0.1.0.19/tomlcheck-x86_64-unkown-linux-gnu -O tomlcheck+ chmod a+x tomlcheck+ ./tomlcheck --file data/sample.toml+fi
tomlcheck.cabal view
@@ -1,5 +1,5 @@ name: tomlcheck-version: 0.1.0.18+version: 0.1.0.19 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@@ -18,6 +18,7 @@ Data-files: .travis.yml , appveyor.yml , Justfile+ , sh/check Extra-doc-files: README.md Flag optimize {