topdir.mk: Add JW_PKG_TMPL_XXX
Add variables to shorten typical invocations of "jw-pkg project update --format tmpl", and use them in py-topdir.mk JW_PKG_TMPL_SEARCH_PATH JW_PKG_TMPL_UPDATE Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
cb07ccdb7a
commit
bf3484c2c9
2 changed files with 5 additions and 2 deletions
|
|
@ -19,8 +19,7 @@ clean: clean.topdir
|
|||
clean.topdir: clean.py-check
|
||||
|
||||
pyproject.toml:
|
||||
$(PYTHON) $(JWB_SCRIPT_DIR)/jw-pkg.py -p $(PROJECTS_DIR) -t $(TOPDIR) --topdir-format unaltered projects create-file --format tmpl \
|
||||
--template-name $@ --search-path $(JW_PKG_CONF_BASE_DIR)/templates --field mypypath='$(MYPY_PATH_DIRECTIVE)' $(PROJECT) > $@.tmp
|
||||
$(JW_PKG_TMPL_UPDATE) $@ --field mypypath='$(MYPY_PATH_DIRECTIVE)' $(PROJECT) > $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
pyrightconfig.json:
|
||||
|
|
|
|||
Loading…
Reference in a new issue