Clone in a terminal:
#! /usr/bin/env python

"""
Calling 'waf clean build' can be shortened to 'waf cleanbuild'
The cleanbuild command is defined below
"""

def configure(ctx):
	pass

def build(ctx):
	pass

def cleanbuild(ctx):
	from waflib import Options
	Options.commands = ['clean', 'build'] + Options.commands

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112