Source

pyGAP / game / assets / common / geometries / wscript

Full commit
#! /usr/bin/env python
# encoding: utf-8

from tools import utils
from tools.compilers import dae


def build(bld):
    bld(name='geometries', rule=dae.run, color='CYAN',
        source=bld.path.ant_glob('**/*.dae'))

    bld.add_group()
    bld.declare_chain(
        name='compress_geometries',
        rule=utils.compress,
        color='BLUE',
        ext_in='.geo',
        ext_out='.geoz',
        reentrant=False,
    )
    bld(dynamic_source='**/*.geo')