Skip to content

Commit

Permalink
Merge pull request #7 from SeanTAllen/issue-6
Browse files Browse the repository at this point in the history
Use -rfinal instead of -rexpr
  • Loading branch information
SeanTAllen authored Feb 27, 2019
2 parents ef27475 + 87895a6 commit 9356cbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
11 changes: 3 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
# Change Log

All notable changes to flycheck-pony are documented in this file.
All notable changes to flycheck-pony are documented in this file.
This project adheres to [Keep a CHANGELOG](http://keepachangelog.com/).

## [unreleased] - unreleased

### Fixed


### Added

## [0.2.2] - 2019-02-26

### Changed

- run -rfinal instead of -rexpr for syntax check

## [0.2.1] - 2016-05-01

Expand Down
10 changes: 5 additions & 5 deletions flycheck-pony.el
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;;; flycheck-pony.el --- Pony support in Flycheck
;;
;; Authors: Sean T Allen <[email protected]>
;; Version: 0.2.1
;; Version: 0.2.2
;; URL: https://github.com/seantallen/flycheck-pony
;; Keywords: tools, convenience
;; Package-Requires: ((flycheck "0.25.1"))
Expand All @@ -13,7 +13,7 @@
;;
;;; Commentary:
;;
;; Pony syntax checking support for Flycheck. Runs "ponyc -rexpr" in the
;; Pony syntax checking support for Flycheck. Runs "ponyc -rfinal" in the
;; current working directory.
;;
;; You may need to customize the location of your Pony compiler if
Expand Down Expand Up @@ -51,18 +51,18 @@
"A Pony syntax checker using the ponyc compiler.
See URL `http://www.ponylang.org'."
:command ("ponyc" "-rexpr")
:command ("ponyc" "-rfinal")
:standard-input nil
:error-patterns
((error line-start (file-name) ":" line ":" column
(zero-or-more (or digit ":")) (message) line-end))
(zero-or-more (or digit ":")) (message) line-end))
:modes ponylang-mode)

(flycheck-define-checker pony-stable
"A Pony syntax checker using pony-stable dependency management tool.
See URL `https://github.com/jemc/pony-stable'."
:command ("stable" "env" "ponyc" "-rexpr")
:command ("stable" "env" "ponyc" "-rfinal")
:standard-input nil
:error-patterns
((error line-start (file-name) ":" line ":" column
Expand Down

0 comments on commit 9356cbc

Please sign in to comment.