"Auto-commit via make git"
Some checks are pending
Python Code Quality / lock_file (push) Waiting to run
Python Code Quality / linting (push) Blocked by required conditions
Python Code Quality / formatting (push) Blocked by required conditions
Python Code Quality / type_consistency (push) Blocked by required conditions
Python Code Quality / tests (push) Blocked by required conditions
Python Code Quality / build (push) Blocked by required conditions
Some checks are pending
Python Code Quality / lock_file (push) Waiting to run
Python Code Quality / linting (push) Blocked by required conditions
Python Code Quality / formatting (push) Blocked by required conditions
Python Code Quality / type_consistency (push) Blocked by required conditions
Python Code Quality / tests (push) Blocked by required conditions
Python Code Quality / build (push) Blocked by required conditions
This commit is contained in:
parent
10b016269d
commit
2db9f4e3f5
@ -6,7 +6,7 @@ SUBDIRS = src
|
|||||||
TOP_DIR = $(shell pwd)
|
TOP_DIR = $(shell pwd)
|
||||||
DIST_DIR = $(TOP_DIR)/dist
|
DIST_DIR = $(TOP_DIR)/dist
|
||||||
BUILD_DIR = $(TOP_DIR)/build
|
BUILD_DIR = $(TOP_DIR)/build
|
||||||
GIT_VER = $(shell git describe --tags --always --dirty 2>/dev/null || echo "0.1-dev")
|
GIT_VER = $(shell git describe --tags --always --dirty=-dev 2>/dev/null || echo "0.1-dev")
|
||||||
SRC_TAR = $(DIST_DIR)/myhomelab-$(GIT_VER)-src.tar.gz
|
SRC_TAR = $(DIST_DIR)/myhomelab-$(GIT_VER)-src.tar.gz
|
||||||
|
|
||||||
# ===========================
|
# ===========================
|
||||||
|
|||||||
@ -14,7 +14,7 @@ class Application(object):
|
|||||||
self._hello()
|
self._hello()
|
||||||
|
|
||||||
def _hello(self):
|
def _hello(self):
|
||||||
print(f"Iniciando o {getattr(self, 'package', '')} {getattr(self, 'version', '')}...")
|
print(f"🚀 Iniciando o {getattr(self, 'package', '')} {getattr(self, 'version', '')}...")
|
||||||
|
|
||||||
def _print(self, msg: str):
|
def _print(self, msg: str):
|
||||||
print(f"[{getattr(self, 'package', '')}] {msg}", flush=True)
|
print(f"[{getattr(self, 'package', '')}] {msg}", flush=True)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user