Ensure eris cache directory is ignored by git
- Added a .gitignore file containing "*" to the cache
This commit is contained in:
parent
d80648a3a7
commit
91a11bfa27
1 changed files with 3 additions and 0 deletions
|
|
@ -1104,6 +1104,9 @@ def manage_cache(root_path):
|
||||||
os.mkdir(cache_path)
|
os.mkdir(cache_path)
|
||||||
with open(checksum_path, "w") as checksum_file:
|
with open(checksum_path, "w") as checksum_file:
|
||||||
checksum_file.write(source_checksum())
|
checksum_file.write(source_checksum())
|
||||||
|
gitignore_path = os.path.join(cache_path, ".gitignore")
|
||||||
|
with open(gitignore_path, "w") as gitignore_file:
|
||||||
|
gitignore_file.write("*")
|
||||||
|
|
||||||
|
|
||||||
def print_tool_info():
|
def print_tool_info():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue