aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-25 21:21:57 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-25 21:21:57 -0600
commitc4867335ab4f0222d22500d60d469823d0c5f999 (patch)
tree60b8d45e63da0a67560e27911e46eaba6d58ea05
parentfeb30c3cd6365d7a80a870a13a8bee60d17f2a7a (diff)
downloadyapymake-c4867335ab4f0222d22500d60d469823d0c5f999.tar.gz
yapymake-c4867335ab4f0222d22500d60d469823d0c5f999.zip
make internal newlines in command lines visible
-rw-r--r--yapymake/makefile/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yapymake/makefile/__init__.py b/yapymake/makefile/__init__.py
index 483b071..09dcb93 100644
--- a/yapymake/makefile/__init__.py
+++ b/yapymake/makefile/__init__.py
@@ -446,7 +446,7 @@ class CommandLine:
'-' if self.ignore_errors else '',
'@' if self.silent else '',
'+' if self.always_execute else '',
- str(self.execution_line)
+ str(self.execution_line).replace('\n', '↵\n')
])
def execute(self, file: Makefile, current_target: 'Target') -> None: