Clean up function names a little
This commit is contained in:
@@ -32,7 +32,7 @@ from utils.common import (
|
||||
)
|
||||
|
||||
|
||||
def main(args: argparse.Namespace) -> None:
|
||||
def appImage(args: argparse.Namespace) -> None:
|
||||
"""Build an AppImage."""
|
||||
try:
|
||||
import python_appimage # noqa: F401 # type: ignore
|
||||
|
||||
+2
-10
@@ -155,11 +155,7 @@ def makeDebianPackage(
|
||||
return ""
|
||||
|
||||
|
||||
##
|
||||
# Build Debian Package (build-deb)
|
||||
##
|
||||
|
||||
def mainDebian(args: argparse.Namespace) -> None:
|
||||
def debian(args: argparse.Namespace) -> None:
|
||||
"""Build a .deb package"""
|
||||
if sys.platform == "linux":
|
||||
print("ERROR: Command 'build-deb' can only be used on Linux")
|
||||
@@ -169,11 +165,7 @@ def mainDebian(args: argparse.Namespace) -> None:
|
||||
return
|
||||
|
||||
|
||||
##
|
||||
# Build Launchpad Packages (build-ubuntu)
|
||||
##
|
||||
|
||||
def mainLaunchpad(args: argparse.Namespace) -> None:
|
||||
def launchpad(args: argparse.Namespace) -> None:
|
||||
"""Wrapper for building Debian packages for Launchpad."""
|
||||
if sys.platform == "linux":
|
||||
print("ERROR: Command 'build-ubuntu' can only be used on Linux")
|
||||
|
||||
Reference in New Issue
Block a user