Chris Lambert
Chris Lambert
I know a number of languages that recommend using spaces to indent, but none that outright require it. As far as I'm aware, this is the only place where the...
Somehow my cursor hit the close button when I closed my laptop. Reopened
> [@asqui](https://github.com/asqui) - Please try the latest SCons verison 4.8.1 and let us know if that resolves it or not. Confirmed that this issue is reproducible on 4.8.1.
I'm using my own SCons logic with reproducer: ```python # SConstruct env = Environment() CacheDir('cache') def trivial(target, source, env): with open(target[0].get_abspath(), 'w') as f: f.write('trivial\n') def writename(target, source, env): with...
By "modify SOURCE_A" I mean the string in SConstruct, not the contents of the file. e.g. if I change it to `A = File("SOURCE_B.txt")` then it builds a SOURCE_B.txt but...
No, that trivial is just for demonstration to create the file. The only necessary command is the second (writename). The actual code is a function that tars a set of...
Is this ok? ```python import subprocess, os, shutil os.makedirs('src/a', exist_ok=True) with open('src/a/file.txt', 'w') as f: f.write('asdf\n') with open('SConstruct', 'w') as f: f.write('''import os env = Environment() CacheDir('cache') def writename(target, source,...