The Birdfont Source Code


All Repositories / birdfont.git / blob – RSS feed

build.py

This file is a part of the Birdfont project.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git

Revisions

View the latest version of build.py.
Move canvas with Ctrl + Shift + Click
1 #!/usr/bin/python3 2 3 import dodo 4 from sys import platform 5 6 from scripts.builder import process_tasks 7 from scripts import config 8 from scripts.translations import compile_translations 9 from scripts import version 10 11 if platform == 'msys': 12 process_tasks(dodo.make_libbirdgems('libbirdgems.dll', [])) 13 process_tasks(dodo.make_libbirdfont('libbirdfont.dll', ['libbirdgems.dll'])) 14 process_tasks(dodo.make_libbirdfont('libbirdfont.dll', ['libbirdgems.dll'])) 15 process_tasks(dodo.make_birdfont_test('birdfont-test.exe', ['libbirdgems.so', 'libbirdfont.so'])) 16 elif platform == 'darwin': 17 gems = "libbirdgems." + str(version.LIBBIRDGEMS_SO_VERSION) + '.dylib' 18 bird = "libbirdfont." + str(version.SO_VERSION) + '.dylib'; 19 process_tasks(dodo.make_libbirdgems(gems, [])) 20 process_tasks(dodo.make_libbirdfont(bird, [gems])) 21 process_tasks(dodo.task_man()) 22 else: 23 process_tasks(dodo.task_libbirdgems()) 24 process_tasks(dodo.task_libbirdfont()) 25 process_tasks(dodo.make_birdfont_test('birdfont-test', ['libbirdgems.so', 'libbirdfont.so'])) 26 27 if config.GTK: 28 process_tasks(dodo.task_birdfont()) 29 process_tasks(dodo.task_birdfont_autotrace()) 30 process_tasks(dodo.task_birdfont_export()) 31 process_tasks(dodo.task_birdfont_import()) 32 process_tasks(dodo.task_man()) 33 34 compile_translations() 35 36 print('Done') 37