lentil 0.1.10.0 → 0.1.11.0
raw patch · 8 files changed
+29/−6 lines, 8 filesdep ~regex-tdfa
Dependency ranges changed: regex-tdfa
Files
- changes.txt +7/−0
- contributors.txt +1/−0
- doc/usr/page.rst +7/−4
- issues.txt +8/−0
- lentil.cabal +1/−1
- src/Lentil/Parse/Syntaxes.hs +3/−0
- src/Main.hs +1/−1
- test/Lentil/FileSpec.hs +1/−0
changes.txt view
@@ -1,3 +1,10 @@+0.1.11.0+--------++- Released Wed 23 Mar 2016 17:50:52 CET+- added new languages (Elm, CoffeeScript, TypeScript) (suggestion by+ Anton Felix Lorenzen).+ 0.1.10.0 --------
contributors.txt view
@@ -2,6 +2,7 @@ Michał Antkiewi Francesco Ariis+Anton Felix Lorenzen Francesco Mazzoli Simon Michael Qptain Nemo
doc/usr/page.rst view
@@ -102,8 +102,8 @@ ------------ lentil parses basic ``TODO`` issues. The precise syntax is: keyword (one-of ``todo``, ``fixme``, ``xxx``), optional semicolon, followed by-a space, followed by free-form text (text can be multiline). In so many+of ``todo``, ``fixme``, ``xxx``, ``feature``), optional semicolon, followed+by a space, followed by free-form text (text can be multiline). In so many words, it is quite liberal in what it accepts: ::@@ -135,14 +135,17 @@ Tags are single words which are useful to catalogue and identify issues. Use them aplenty as they will make slicing and dicing your issue-base a breeze.-Since the semantic of ``FIXME`` and ``XXX`` is specific (in respect to the-usual ``TODO``), they are automatically added as a tag.+Since the semantic of ``FIXME``, ``XXX`` and ``Feature`` is specific (in+respect to the usual ``TODO``), they are automatically added as a tag. As now lentil parses: - haskell source files (``.hs``, ``.lhs``, ``.chs``, ``.hsc``, ``.cabal``)+- Elm source files (``.elm``) - C source files (``.c``, ``.h``), C++ (``.cpp``, ``.hpp``), Java (``.java``) - javascript source files (``.js``)+- TypeScript source files (``.ts``)+- CoffeeScript source files (``.coffee``) - pascal source files (``.pas``, ``.pp``, ``.inc``) - python source files (``.py``) - ruby source files (``.rb``)
issues.txt view
@@ -32,6 +32,8 @@ 36 Henning: don't output nothing on lentil xxx.cabal (maybe add 19 skipped?) [request] [2016] 37 code coverage [test]+ 38 add .lentilignore (or even .lentilconf) Michał Antkiewicz+ [feature:intermediate] [request] src/Lentil/Args.hs 25 disambiguation optparse-applicative [feature:intermediate]@@ -46,6 +48,12 @@ repositories (like darcs). Explore different possibilities (conduit, new Filepath, unix program). [u:2] [duct] 61 combine funziona su windows? [feature:intermediate]+ +src/Lentil/Parse/Issue.hs+ 30 "feature" flagword could (in theory) clash with a free-text comment+ (if it is present in the middle of a sentence at the beginning of a+ line). Consider alternatives (as: making new words configurable in+ .lentil dotfile [design] [u:2] [bug] src/Lentil/Parse/Run.hs 27 hGetContents: invalid argument (invalid byte sequence) [fixme]
lentil.cabal view
@@ -1,5 +1,5 @@ name: lentil-version: 0.1.10.0+version: 0.1.11.0 synopsis: frugal issue tracker description: minumum effort, cohesive issue tracker based on ubiquitous @TODO@s and @FIXME@s conventions.
src/Lentil/Parse/Syntaxes.hs view
@@ -35,12 +35,15 @@ langParser fp | ext `elem` [".hs", ".lhs", ".hsc", ".chs" ] = Just haskell | ext `elem` [".cabal"] = Just haskell -- cabal+ | ext `elem` [".elm"] = Just haskell -- Elm | ext `elem` [".c", ".h"] = Just c | ext `elem` [".cpp", ".hpp"] = Just c -- C++ | ext `elem` [".java"] = Just c -- Java | ext `elem` [".js"] = Just javascript+ | ext `elem` [".ts"] = Just javascript -- TypeScript | ext `elem` [".pas", ".pp", ".inc"] = Just pascal | ext `elem` [".py"] = Just python+ | ext `elem` [".coffee"] = Just python -- CoffeeScript | ext `elem` [".rb"] = Just ruby | ext `elem` [".pl", ".pm", ".t"] = Just perl | ext `elem` [".sh"] = Just perl -- shell
src/Main.hs view
@@ -28,7 +28,7 @@ short 'v' <> help "show version and copyright info" ) where- versionCopy = "lentil - frugal issue tracker, version 0.1.10.0\n\+ versionCopy = "lentil - frugal issue tracker, version 0.1.11.0\n\ \(C) 2015-2016 Francesco Ariis - http://www.ariis.it\n\ \released under the GNU General Public License v3\n"
test/Lentil/FileSpec.hs view
@@ -35,6 +35,7 @@ -- findIssues [bas ++ "", bas ++ ""] [] >>= \fiss -> -- length fiss `shouldBe` 5 + -- TODO: excluding files fails on MS Windows! Check why! [u:3] [bug] it "excludes some folders" $ findIssues [] [bas ++ ""] [bas ++ "fold-c/"] >>= \fiss -> length fiss `shouldBe` 2