The tomlcheck package

[ Tags: bsd3, data, library, 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]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.8, 0.1.0.9, 0.1.0.14
Dependencies base (>=4.8 && <5), htoml-megaparsec (>=1.0.1.8), megaparsec (>=6.0), optparse-generic, text, tomlcheck [details]
License BSD3
Copyright Copyright: (c) 2017 Vanessa McHale
Author Vanessa McHale
Maintainer vanessa.mchale@reconfigure.io
Category Toml, Data
Home page https://github.com/vmchale/tomlcheck#readme
Source repository head: git clone https://github.com/vmchale/tomlcheck
Uploaded Mon Oct 16 21:41:28 UTC 2017 by vmchale
Distributions
Executables tomlcheck
Downloads 182 total (182 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-16 [all 1 reports]
Hackage Matrix CI

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

Maintainer's Corner

For package maintainers and hackage trustees


Readme for tomlcheck-0.1.0.14

[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

A sample script for your .travis.yml file:

test:
  - 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