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 [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
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 Sat Apr 27 02:08:47 UTC 2019
Distributions NixOS:0.1.0.40
Executables tomlcheck
Downloads 3330 total (100 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2019-04-27 [all 3 reports]

Flags

NameDescriptionDefaultType
static

Build statically linked executable

DisabledManual
development

Enable -Werror

DisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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