projects
/
fur
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add integration tests
[fur]
/
main.py
diff --git
a/main.py
b/main.py
index
5d9f9de
..
c2592c6
100644
(file)
--- a/
main.py
+++ b/
main.py
@@
-16,7
+16,7
@@
transformed = transformation.transform(parsed)
generated = generation.generate(transformed)
assert source_path.endswith('.fur')
-destination_path = source_path
[:-4]
+ '.c'
+destination_path = source_path + '.c'
with open(destination_path, 'w') as f:
f.write(generated)