5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f26391452 | |||
| e39047e0dd | |||
| c39c268d98 | |||
| ced42938e1 | |||
| 9217d38964 |
Renamed from src/python/jw/build/App.py (Browse further)
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 1f26391452 |
jw.pkg.cmds.Cmd: Derive from lib.Cmd
The body of Cmd is pretty much entirely obviated by its base class. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| e39047e0dd |
jw.pkg.App: Derive from jw.pkg.lib.App
Derive jw.pkg.App from jw.pkg.lib.App. App.run() dissolves as follows: - Its sub-command invocation logic is left to the base class - parser.add_arguments() are moved into self._add_arguments() - So is handling of early-parsed arguments - async def _run() is reimplemented to set some member variables Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| c39c268d98 |
jw-projects.sh: Fix -p / --prefix help message
--prefix doesn't denote an "App Path Prefix", "Parent directory of project source directories" decribes it better. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| ced42938e1 |
projects.mk / jw-projects.py: Support tmpl_dir && tmpls-dir
For a project to supply templates, it needs to advertise their location. For this, the tmpl_dir make variable is added to projects.mk. If other-project wants to get hold of some-project's templates, it can do, e.g.: TEMPLATES = $(wilcard $(call tmpl_dir,some-project)/*.tmpl) To achieve this, support for the tmpls-dir command is added to jw-projects.py. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 9217d38964 |
Everywhere: Rename package "jw-build" to "jw-pkg"
jw-build doesn't stop at building software, packaging it afterwards is also a core feature, so this commit gives the package a better name. The commit replaces strings s/jw-build/jw-pkg/ in text files and file names. Fallout to the functionality is fixed, variable names are left as they are, though. To be adjusted by later commits. Signed-off-by: Jan Lindemann <jan@janware.com> |