summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvmchale <>2017-10-12 04:38:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-10-12 04:38:00 (GMT)
commitce1d2f6df1fbab80de7b4f3e8d21403ffb28fec0 (patch)
tree2350eeda8365bb6c618d6db5cfae520b6f777e8e
parenta32a7d1aaaa4ff131835edf134d9e023490f693c (diff)
version 0.1.0.20.1.0.2
-rw-r--r--Justfile2
-rw-r--r--README.md1
-rw-r--r--appveyor.yml33
-rw-r--r--tomlcheck.cabal3
4 files changed, 38 insertions, 1 deletions
diff --git a/Justfile b/Justfile
index 147afaf..babd126 100644
--- a/Justfile
+++ b/Justfile
@@ -23,6 +23,8 @@ install:
release:
git tag "$(grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1)"
git push origin --tags
+
+name:
github-release edit -s $(cat .git-token) -u vmchale -r tomlcheck -n $(madlang run ~/programming/madlang/releases/releases.mad) -t "$(grep -P -o '\d+\.\d+\.\d+\.\d+' tomlcheck.cabal | head -n1)"
check:
diff --git a/README.md b/README.md
index a51c057..ea694b2 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# tomlcheck
[![Build Status](https://travis-ci.org/vmchale/tomlcheck.svg?branch=master)](https://travis-ci.org/vmchale/tomlcheck)
+[![Windows build status](https://ci.appveyor.com/api/projects/status/github/vmchale/tomlcheck?svg=true)](https://ci.appveyor.com/project/vmchale/tomlcheck)
`tomlcheck` is a command-line wrapper around the `htoml` library which can be
used as a syntax checker for TOML.
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..83b7ba7
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,33 @@
+---
+
+build: off
+
+before_test:
+ - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
+
+ - curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
+ - 7z x stack.zip stack.exe
+
+clone_folder: "c:\\stack"
+environment:
+ global:
+ STACK_ROOT: "c:\\sr"
+
+test_script:
+ - stack setup > nul
+ - echo "" | stack --no-terminal install
+ - ps: Get-ChildItem . -name -recurse tomlcheck.exe
+ - echo $APPVEYOR_REPO_TAG_NAME
+
+deploy:
+ artifact: C:\\stack\\.stack-work\\install\\afd8a623\\bin\\tomlcheck.exe
+ provider: GitHub
+ on:
+ apveyor_repo_tag: true
+ auth_token:
+ secure: 0qzMr6xmEwRoj/9TJOgDuW/LXWfGVM/4A7kvAXGe0BAwWCF13AWE2SARrYkyc3ji
+
+branches:
+ only:
+ # Release tags
+ - /\d+\.\d+\.\d+\.\d+.*$/
diff --git a/tomlcheck.cabal b/tomlcheck.cabal
index 56eb21a..777a069 100644
--- a/tomlcheck.cabal
+++ b/tomlcheck.cabal
@@ -1,5 +1,5 @@
name: tomlcheck
-version: 0.1.0.1
+version: 0.1.0.2
synopsis: Command-line tool to check syntax of TOML files
description: This is a command-line wrapper around htoml-megaparsec.
It is intended to be used as a syntax checker that can be
@@ -16,6 +16,7 @@ extra-source-files: cabal.project.local
, stack.yaml
cabal-version: >=1.18
Data-files: .travis.yml
+ , appveyor.yml
, Justfile
Extra-doc-files: README.md