mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Remove old eclipse workspace and ship/extract as a zip file (use ant setupenvironment)
Fix up install.py for forge multibranch changes
This commit is contained in:
1 parent
6371e9b71e
commit
9c77d3f25b
22 files changed
+21
-344
No files matched your search
+7
-7
@@ -731,13 +731,13 @@ def setup_mcp(fml_dir, mcp_dir, dont_gen_conf=True):
|
||||
print 'Copying FML conf'
|
||||
shutil.copytree(fml_conf, mcp_conf)
|
||||
|
||||
#update workspace
|
||||
print 'Fixing MCP Workspace'
|
||||
if not os.path.isdir(os.path.join(fml_dir, 'eclipse', 'Clean-Client')):
|
||||
mcp_eclipse = os.path.join(mcp_dir, 'eclipse')
|
||||
if os.path.isdir(mcp_eclipse):
|
||||
shutil.rmtree(mcp_eclipse)
|
||||
shutil.copytree(os.path.join(fml_dir, 'eclipse'), mcp_eclipse)
|
||||
# #update workspace
|
||||
# print 'Fixing MCP Workspace'
|
||||
# if not os.path.isdir(os.path.join(fml_dir, 'eclipse', 'Clean-Client')):
|
||||
# mcp_eclipse = os.path.join(mcp_dir, 'eclipse')
|
||||
# if os.path.isdir(mcp_eclipse):
|
||||
# shutil.rmtree(mcp_eclipse)
|
||||
# shutil.copytree(os.path.join(fml_dir, 'eclipse'), mcp_eclipse)
|
||||
|
||||
def normaliselines(in_filename):
|
||||
in_filename = os.path.normpath(in_filename)
|
||||
|
||||
Reference in new issue
Block a user