lentil 1.5.1.0 → 1.5.2.0
raw patch · 7 files changed
+26/−3 lines, 7 filesdep ~hspec
Dependency ranges changed: hspec
Files
- changes.txt +6/−0
- doc/usr/page.rst +1/−0
- lentil.cabal +3/−2
- src/Lentil/Parse/Syntaxes.hs +1/−0
- src/Main.hs +1/−1
- test/Lentil/Parse/RunSpec.hs +3/−0
- test/test-files/lang-comm/yaml.yml +11/−0
changes.txt view
@@ -1,3 +1,9 @@+1.5.2.0+-------++- Fri 04 Jun 2021 18:04:53 CEST+- Add YAML syntax (request by Дмитрий)+ 1.5.1.0 -------
doc/usr/page.rst view
@@ -184,6 +184,7 @@ - Markdown files (``.md``) - R files (``.r``, ``.R``) - Forth files (``.fs``, ``.fth``, ``.4th``)+- YAML files (``.yaml``, ``.yml``) - plain text files (``.txt``) If you want a file type ``.xyz`` to be recognised as one in the list above,
lentil.cabal view
@@ -1,5 +1,5 @@ name: lentil-version: 1.5.1.0+version: 1.5.2.0 synopsis: frugal issue tracker description: minumum effort, cohesive issue tracker based on ubiquitous @TODO@s and @FIXME@s conventions.@@ -36,6 +36,7 @@ test/test-files/lang-comm/standard-ml.sml, test/test-files/lang-comm/rst.rst, test/test-files/lang-comm/org-mode.org,+ test/test-files/lang-comm/yaml.yml, test/test-files/lang-comm/text.txt, test/test-files/specific/contiguous.c, test/test-files/specific/cont-custom.c,@@ -118,7 +119,7 @@ text==1.2.*, terminal-progress-bar==0.4.* -- same as above, plus hspec- , hspec >= 2.3 && < 2.8+ , hspec >= 2.3 && < 2.9 other-modules: Lentil.Types, Lentil.Args, Lentil.File, Lentil.Print, Lentil.Query, Lentil.Export, Lentil.Parse.Source, Lentil.Parse.Issue, Lentil.Parse.Syntaxes,
src/Lentil/Parse/Syntaxes.hs view
@@ -79,6 +79,7 @@ ([".org"], Just org), -- org-mode ([".r"], Just rp), -- R language ([".fs", ".fth", ".4th"], Just forth), -- forth+ ([".yaml", ".yml"], Just perl), -- YAML ([".txt", ".md"], Just text) ] haskell, c, javascript, pascal, python, ruby, perl, nix,
src/Main.hs view
@@ -37,7 +37,7 @@ short 'v' S.<> help "show version and copyright info" ) where- versionCopy = "\nlentil - frugal issue tracker, version 1.5.1.0\n\+ versionCopy = "\nlentil - frugal issue tracker, version 1.5.2.0\n\ \(C) 2015-2021 Francesco Ariis - http://www.ariis.it\n\ \released under the GNU General Public License v3\n"
test/Lentil/Parse/RunSpec.hs view
@@ -109,4 +109,7 @@ it "parses a Forth source" $ fileParser [] [] "test/test-files/lang-comm/forth.fs" `shouldReturn` spt "test/test-files/lang-comm/forth.fs"+ it "parses a YAML source" $+ fileParser [] [] "test/test-files/lang-comm/yaml.yml"+ `shouldReturn` spt "test/test-files/lang-comm/yaml.yml"
+ test/test-files/lang-comm/yaml.yml view
@@ -0,0 +1,11 @@+# TODO: single+# comment+# todo single2++ c: "st/*ring" # string+ letter: 'c' # char++# todo block1+# TODO: block2 [tog]++# end