<s> from yaku . scheduler import run_tasks <EOL> from yaku . context import get_bld , get_cfg <EOL> def configure ( ctx ) : <EOL> ctx . use_tools ( [ "<STR_LIT>" , "<STR_LIT>" ] ) <EOL> ctx . env . append ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> def build ( ctx ) : <EOL> builder = ctx . builders [ "<STR_LIT>" ] <EOL> builder . program ( "<STR_LIT:foo>" , [ "<STR_LIT>" ] ) <EOL> builder = ctx . builders [ "<STR_LIT>" ] <EOL> builder . static_library ( "<STR_LIT:bar>" , [ "<STR_LIT>" ] ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> build_path = "<STR_LIT>" <EOL> ctx = get_cfg ( build_path = build_path ) <EOL> configure ( ctx ) <EOL> ctx . store ( ) <EOL> ctx = get_bld ( build_path = build_path ) <EOL> build ( ctx ) <EOL> run_tasks ( ctx ) <EOL> ctx . store ( ) </s>
