tomlcheck: Command-line tool to check syntax of TOML files

[ bsd3, data, program, toml ] [ Propose Tags ] [ Report a vulnerability ]

This is a command-line wrapper around htoml-megaparsec. It is intended to be used as a syntax checker that can be called by your text editor.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
static

Build statically linked executable

Disabled
development

Enable `-Werror`

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.8, 0.1.0.9, 0.1.0.14, 0.1.0.17, 0.1.0.18, 0.1.0.19, 0.1.0.23, 0.1.0.29, 0.1.0.36, 0.1.0.38, 0.1.0.39, 0.1.0.40
Change log CHANGELOG.md
Dependencies base (>=4.9 && <5), htoml-megaparsec (>=2.1.0.0), megaparsec (>=7.0), optparse-applicative, text [details]
License BSD-3-Clause
Copyright Copyright: (c) 2017-2019 Vanessa McHale
Author Vanessa McHale
Maintainer vamchale@gmail.com
Category Toml, Data
Source repo head: git clone https://github.com/vmchale/tomlcheck
Uploaded by vmchale at 2019-04-27T02:08:47Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables tomlcheck
Downloads 8702 total (51 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2019-04-27 [all 3 reports]

Readme for tomlcheck-0.1.0.40

[back to package description]

tomlcheck

Build Status Windows build status Hackage CI Hackage Dependencies of latest version on Hackage

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 new-install tomlcheck

Use

Travis

Add the following your .travis.yml file to check a file called Config.toml:

  - curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s Config.toml