aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 9c33209..06f586f 100644
--- a/setup.py
+++ b/setup.py
@@ -183,11 +183,13 @@ def sort():
cli.add_command(sort)
+
@click.command(help="Build the project.")
def build():
logger.info("Building the project...")
os.system("pyinstaller --onefile --windowed --name Texty src/texty.py")
+
cli.add_command(build)
if __name__ == "__main__":