Release 0.5.4
This commit is contained in:
parent
d0ad38b714
commit
8a2024bc1c
|
@ -188,7 +188,7 @@ cmds += [Cmd("h", "help", "Show this help message", helpCmd)]
|
||||||
|
|
||||||
|
|
||||||
def versionCmd(args: Args):
|
def versionCmd(args: Args):
|
||||||
print(f"CuteKit v{const.VERSION_STR}\n")
|
print(f"CuteKit v{const.VERSION_STR}")
|
||||||
|
|
||||||
|
|
||||||
cmds += [Cmd("v", "version", "Show current version", versionCmd)]
|
cmds += [Cmd("v", "version", "Show current version", versionCmd)]
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
VERSION = (0, 6, 0, "dev")
|
VERSION = (0, 5, 4)
|
||||||
VERSION_STR = f"{VERSION[0]}.{VERSION[1]}.{VERSION[2]}{'-' + VERSION[3] if VERSION[3] else ''}"
|
VERSION_STR = f"{VERSION[0]}.{VERSION[1]}.{VERSION[2]}{'-' + VERSION[3] if len(VERSION) >= 4 else ''}"
|
||||||
MODULE_DIR = os.path.dirname(os.path.realpath(__file__))
|
MODULE_DIR = os.path.dirname(os.path.realpath(__file__))
|
||||||
ARGV0 = os.path.basename(sys.argv[0])
|
ARGV0 = os.path.basename(sys.argv[0])
|
||||||
PROJECT_CK_DIR = ".cutekit"
|
PROJECT_CK_DIR = ".cutekit"
|
||||||
|
@ -16,5 +16,4 @@ TARGETS_DIR = os.path.join(META_DIR, "targets")
|
||||||
DEFAULT_REPO_TEMPLATES = "cute-engineering/cutekit-templates"
|
DEFAULT_REPO_TEMPLATES = "cute-engineering/cutekit-templates"
|
||||||
DESCRIPTION = "A build system and package manager for low-level software development"
|
DESCRIPTION = "A build system and package manager for low-level software development"
|
||||||
PROJECT_LOG_FILE = os.path.join(PROJECT_CK_DIR, "cutekit.log")
|
PROJECT_LOG_FILE = os.path.join(PROJECT_CK_DIR, "cutekit.log")
|
||||||
GLOBAL_LOG_FILE = os.path.join(
|
GLOBAL_LOG_FILE = os.path.join(os.path.expanduser("~"), ".cutekit", "cutekit.log")
|
||||||
os.path.expanduser("~"), ".cutekit", "cutekit.log")
|
|
||||||
|
|
Loading…
Reference in a new issue