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

[ bsd3, data, program, toml ] [ Propose Tags ]

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]
Versions [RSS] [faq] 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
Dependencies base (>=4.8 && <5), htoml-megaparsec (>=1.0.1.11 && <2.1.0.0), megaparsec (>=6.0), optparse-generic, text, tomlcheck [details]
License BSD-3-Clause
Copyright Copyright: (c) 2017 Vanessa McHale
Author Vanessa McHale
Maintainer vanessa.mchale@reconfigure.io
Revised Revision 1 made by vmchale at 2018-09-04T22:54:15Z
Category Toml, Data
Home page https://github.com/vmchale/tomlcheck#readme
Source repo head: git clone https://github.com/vmchale/tomlcheck
Uploaded by vmchale at 2017-11-13T08:24:52Z
Distributions NixOS:0.1.0.40
Executables tomlcheck
Downloads 7215 total (39 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-11-13 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
optimize

Optimize with -O2

DisabledAutomatic
native

Target current CPU

DisabledManual
development

Enable `-Werror`

DisabledManual

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

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for tomlcheck-0.1.0.19

[back to package description]

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

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

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