The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge branch 'master' of github.com:johanmattssonm/birdfont

Changes made to build.py

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
blob:a/build.py -> blob:b/build.py
--- build.py +++ build.py @@ -6,13 +6,20 @@ from scripts.builder import process_tasks from scripts import config from scripts.translations import compile_translations + from scripts import version - if not platform == "msys": - process_tasks(dodo.task_libbirdgems()) - process_tasks(dodo.task_libbirdfont()) - else: + if platform == 'msys': process_tasks(dodo.make_libbirdgems('libbirdgems.dll', [])) process_tasks(dodo.make_libbirdfont('libbirdfont.dll', ['libbirdgems.dll'])) + elif platform == 'darwin': + gems = "libbirdgems." + str(version.LIBBIRDGEMS_SO_VERSION) + '.dylib' + bird = "libbirdfont." + str(version.SO_VERSION) + '.dylib'; + process_tasks(dodo.make_libbirdgems(gems, [])) + process_tasks(dodo.make_libbirdfont(bird, [gems])) + process_tasks(dodo.task_man()) + else: + process_tasks(dodo.task_libbirdgems()) + process_tasks(dodo.task_libbirdfont()) if config.GTK: process_tasks(dodo.task_birdfont())