I hereby claim:
- I am christiandeange on github.
- I am 123 (https://keybase.io/123) on keybase.
- I have a public key ASAMrUyb51U1hwhLJK90iaQ74o0zk85TJDQ_t7uC91EAAQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Script to fix module roots that are incorrectly labelled as source roots by | |
# `buck project`. It iterates over each .iml file in the project and modifies | |
# source folder entries to ensure that the module root itself is not | |
# registered as a source root. There are several issues this script resolves: | |
# - Module root is marked as source root | |
# - `src/test` is marked as test source root (instead of `src/test/java`) | |
# - Folders holding protobuf definitions are marked as excluded | |
# |
#!/usr/bin/env python | |
import subprocess | |
import sys | |
DIFF = 0xFF01 - 0x0021 | |
def transform(c): | |
i = ord(c) | |
if i >= 0x21 and i <= 0xFE: | |
return unichr(DIFF + i) |