parent
172d689cd3
commit
db6ce3fd35
1
Makefile
1
Makefile
|
@ -24,7 +24,6 @@ reqs :
|
|||
$(submodules_target) :
|
||||
git submodule init
|
||||
git submodule update
|
||||
cd dupeguru; ln -sf ../hscommon .; ln -sf ../cocoalib .
|
||||
|
||||
env : | $(submodules_target) reqs
|
||||
@echo "Creating our virtualenv"
|
||||
|
|
19
build.py
19
build.py
|
@ -104,6 +104,13 @@ def build_xibless(dest='cocoa/autogen'):
|
|||
)
|
||||
|
||||
def build_cocoa(dev):
|
||||
|
||||
build_localizations()
|
||||
build_cocoalib_xibless()
|
||||
build_xibless()
|
||||
build_cocoa_proxy_module()
|
||||
build_cocoa_bridging_interfaces()
|
||||
|
||||
app_version = get_module_version('core')
|
||||
cocoa_project_path = 'cocoa'
|
||||
filereplace(op.join(cocoa_project_path, 'InfoTemplate.plist'), op.join('build', 'Info.plist'), version=app_version)
|
||||
|
@ -111,20 +118,12 @@ def build_cocoa(dev):
|
|||
if not op.exists('build/PythonHeaders'):
|
||||
os.symlink(op.dirname(sysconfig.get_config_h_filename()), 'build/PythonHeaders')
|
||||
build_help()
|
||||
print("Compiling with Xcode")
|
||||
|
||||
print_and_do('xcodebuild')
|
||||
if op.exists('build/dupeGuru.app'):
|
||||
shutil.rmtree('build/dupeGuru.app')
|
||||
shutil.copytree('build/Release/dupeGuru.app', 'build/dupeGuru.app')
|
||||
print("Building localizations")
|
||||
build_localizations()
|
||||
print("Building xibless UIs")
|
||||
build_cocoalib_xibless()
|
||||
build_xibless()
|
||||
print("Building Python extensions")
|
||||
build_cocoa_proxy_module()
|
||||
build_cocoa_bridging_interfaces()
|
||||
print("Building the cocoa layer")
|
||||
|
||||
app = cocoa_app()
|
||||
pydep_folder = op.join(app.resources, 'py')
|
||||
if not op.exists(pydep_folder):
|
||||
|
|
Loading…
Reference in New Issue