From: Shane Jaroch Date: Mon, 11 Jul 2022 16:20:26 +0000 (-0400) Subject: add Makefile extra/cloc, bump nt target version X-Git-Tag: v0.2.3~1 X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=e910a3d7ec11bdfafc011ccb75ce6ffe3c5e5119;p=nutratech%2Fcli.git add Makefile extra/cloc, bump nt target version --- diff --git a/Makefile b/Makefile index f414d91..4fa657e 100644 --- a/Makefile +++ b/Makefile @@ -153,3 +153,21 @@ clean: ## Clean up __pycache__ and leftover bits rm -rf nutra.egg-info/ rm -rf .pytest_cache/ .mypy_cache/ find ntclient/ tests/ -name __pycache__ -o -name .coverage -o -name .pytest_cache | xargs rm -rf + + +# --------------------------------------- +# Extras +# --------------------------------------- + +CLOC_ARGS ?= +.PHONY: extras/cloc +extras/cloc: ## Count lines of source code + - cloc \ + --exclude-dir=\ + .venv,venv,\ + .mypy_cache,.pytest_cache,\ + .idea,\ + build,dist \ + --exclude-ext=svg \ + $(CLOC_ARGS) \ + . diff --git a/ntclient/__init__.py b/ntclient/__init__.py index 6a88bfe..366b00a 100755 --- a/ntclient/__init__.py +++ b/ntclient/__init__.py @@ -43,7 +43,7 @@ __copyright__ = "Copyright 2018-2022 Shane Jaroch" __url__ = "https://github.com/nutratech/cli" # Sqlite target versions -__db_target_nt__ = "0.0.4" +__db_target_nt__ = "0.0.5" __db_target_usda__ = "0.0.8" # Global variables