@hackage tomlcheck0.1.0.17

Command-line tool to check syntax of TOML files

  • Installation

  • Dependencies (5)

  • Dependents (1)

    @hackage/acme-everything
  • Package Flags

      optimize
       (off by default)

      Optimize with -O2

      native
       (off by default)

      Target current CPU

      development
       (off by default)

      Enable `-Werror`

tomlcheck

Build Status Windows build status

tomlcheck is a command-line wrapper around the htoml library which can be used as a syntax checker for TOML.

You can find a vim plugin here.

Installation

Binaries

Head over to the release page to see if your platform has binaries. Simply put it somewhere on your path.

Cabal

Install GHC along with cabal, then

 $ cabal update
 $ cabal install tomlcheck

Use

Travis

A sample script for your .travis.yml file:

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