mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Moved core*.app_cocoa to cocoa/inter.
--HG-- rename : core_me/app_cocoa.py => cocoa/inter/app_me.py rename : core_pe/app_cocoa.py => cocoa/inter/app_pe.py rename : core_se/app_cocoa.py => cocoa/inter/app_se.py
This commit is contained in:
7
build.py
7
build.py
@@ -34,13 +34,16 @@ def parse_args():
|
||||
def build_cocoa(edition, dev):
|
||||
from pluginbuilder import build_plugin
|
||||
print("Building dg_cocoa.plugin")
|
||||
if not dev:
|
||||
if dev:
|
||||
tocopy = ['cocoa/inter']
|
||||
else:
|
||||
specific_packages = {
|
||||
'se': ['core_se'],
|
||||
'me': ['core_me'],
|
||||
'pe': ['core_pe'],
|
||||
}[edition]
|
||||
copy_packages(['core', 'hscommon'] + specific_packages, 'build')
|
||||
tocopy = ['core', 'hscommon', 'cocoa/inter'] + specific_packages
|
||||
copy_packages(tocopy, 'build')
|
||||
cocoa_project_path = 'cocoa/{0}'.format(edition)
|
||||
shutil.copy(op.join(cocoa_project_path, 'dg_cocoa.py'), 'build')
|
||||
os.chdir('build')
|
||||
|
||||
Reference in New Issue
Block a user