Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • machinmachines/sandbox
1 result
Show changes
Commits on Source (3)
...@@ -24,6 +24,16 @@ ...@@ -24,6 +24,16 @@
// LSAN not supported with debugger // LSAN not supported with debugger
"ASAN_OPTIONS" : "detect_leaks=0" "ASAN_OPTIONS" : "detect_leaks=0"
} }
},
{
"type": "python",
"request": "launch",
"name": "creation_script",
"program": "${workspaceFolder}/scripts/create_project.py",
"args": ["../", "../../", "HeapTracker"],
"cwd": "${workspaceFolder}/scripts",
"env": {
}
} }
] ]
} }
...@@ -26,6 +26,7 @@ import shutil ...@@ -26,6 +26,7 @@ import shutil
import string import string
kIgnoredDirectories = ('.git', kIgnoredDirectories = ('.git',
'.vs',
'build', 'build',
'externals', 'externals',
'gtest', 'gtest',
...@@ -101,10 +102,16 @@ def RenameDirectories(root_dir, name_lower): ...@@ -101,10 +102,16 @@ def RenameDirectories(root_dir, name_lower):
@param root_dir Root directory to walk into @param root_dir Root directory to walk into
@param name_lower Name to replace folders with @param name_lower Name to replace folders with
''' '''
# This is hardcoded for now dirs_list = []
# TODO(gm): find something better for root, dirs, files in os.walk(root_dir):
shutil.move(os.path.join(root_dir, "sandbox"), for dir in dirs:
os.path.join(root_dir, name_lower)) if(dir == "sandbox"):
dirs_list.append(os.path.join(os.path.relpath(root,root_dir),dir))
break
for dir in dirs_list:
src = os.path.join(root_dir, dir)
dest = src.replace("sandbox", name_lower)
shutil.move(src, dest)
def SetupProject(sandbox_root, dest_dir, name): def SetupProject(sandbox_root, dest_dir, name):
''' '''
......