aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-19 11:36:47 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-19 11:38:03 +0200
commit49c52823b0c802e0fc8e4f18d517f766f7f43cfc (patch)
tree1fc7872996b880df1a15e497d5cda19862477cb0 /Makefile
parentWork on making program ready for packaging. (diff)
downloadrainbow-parenthesis-49c52823b0c802e0fc8e4f18d517f766f7f43cfc.tar.gz
rainbow-parenthesis-49c52823b0c802e0fc8e4f18d517f766f7f43cfc.tar.xz
Fix backslashes "eating" their next character.
Since we are working with literal characters, than a backslash shouldn't be removed when esacping a character. The current (and excpeted) functionallity is that the backslash should escape the next character, but print both. Also added tests for this.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b665b00..2e0875a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
.PHONY: check check-style check-type \
- build wheel install clean sphinx-apidoc documentation
+ build wheel install clean sphinx-apidoc documentation \
+ test
PYTHON = python
DOC_OUTPUT = doc.rendered
@@ -31,6 +32,9 @@ $(DOC_OUTPUT)/index.html: sphinx-apidoc
documentation: sphinx-apidoc
+test:
+ python -m pytest
+
clean:
-rm -r build
-rm -r dist