https://github.com/vmchale/tomlcheck
A syntax checker for TOML files
https://github.com/vmchale/tomlcheck
haskell syntax-checker toml vim
Last synced: 9 months ago
JSON representation
A syntax checker for TOML files
- Host: GitHub
- URL: https://github.com/vmchale/tomlcheck
- Owner: vmchale
- License: bsd-3-clause
- Created: 2017-10-11T01:32:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-29T17:36:48.000Z (about 6 years ago)
- Last Synced: 2025-04-04T07:51:12.796Z (10 months ago)
- Topics: haskell, syntax-checker, toml, vim
- Language: Haskell
- Homepage:
- Size: 121 KB
- Stars: 28
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tomlcheck
[](https://travis-ci.org/vmchale/tomlcheck)
[](https://ci.appveyor.com/project/vmchale/tomlcheck)
[](https://matrix.hackage.haskell.org/package/tomlcheck)
[](http://hackage.haskell.org/package/tomlcheck)
[](https://hackage.haskell.org/package/tomlcheck)
`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](https://github.com/vmchale/tomlcheck-vim).
## Installation
### Binaries
Head over to the [release page](https://github.com/vmchale/tomlcheck/releases) to see if your platform has
binaries. Simply put it somewhere on your path.
### Cabal
Install [GHC](https://www.haskell.org/ghc/download.html) along with
[cabal](https://www.haskell.org/downloads#minimal), then
```bash
$ cabal update
$ cabal new-install tomlcheck
```
## Use
### Travis
Add the following your `.travis.yml` file to check a file called `Config.toml`:
```yaml
- curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s Config.toml
```