File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed
Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -70,28 +70,28 @@ def main(
7070 parser .add_argument (
7171 "--manifest-path" ,
7272 type = str ,
73- required = False ,
73+ required = True ,
7474 default = "./manifest.yml" ,
7575 help = "The path to the manifest file."
7676 )
7777 parser .add_argument (
7878 "--logo-path" ,
7979 type = str ,
80- required = False ,
80+ required = True ,
8181 default = "./logo.png" ,
8282 help = "The path to the logo file."
8383 )
8484 parser .add_argument (
8585 "--license-path" ,
8686 type = str ,
87- required = False ,
87+ required = True ,
8888 default = "./LICENSE" ,
8989 help = "The path to the license file."
9090 )
9191 parser .add_argument (
9292 "--readme-path" ,
9393 type = str ,
94- required = False ,
94+ required = True ,
9595 default = "./README.md" ,
9696 help = "The path to the readme file."
9797 )
Original file line number Diff line number Diff line change 22from invoke import task
33
44PATH_MANIFEST = "./manifest.yml"
5+ PATH_LOGO = "./logo.png"
6+ PATH_LICENSE = "./LICENSE"
7+ PATH_README = "./README.md"
8+
59PATH_SETUP = "./src/gh/diffCheck/setup.py"
610PATH_INIT = "./src/gh/diffCheck/diffCheck/__init__.py"
711PATH_CMAKE = "./CMakeLists.txt"
12+
813DIR_IN_GHUSER_COMPONENTS = "./src/gh/components"
914DIR_OUT_GHUER_COMPONENTS = "./build/gh"
1015
16+ DIR_OUT_YAK = "./build/yak"
1117
1218@task
1319def versionize (c ):
@@ -42,12 +48,14 @@ def flagerize(c, package_name="diffCheck"):
4248 --from-manifest \
4349 --path-manifest { PATH_MANIFEST } " )
4450
45-
46-
47-
4851@task
4952def yakerize (c ):
5053 path_yakerize = "./invokes/yakerize/yakerize.py"
51- gh_components_dir = "./build/gh"
5254 build_yak_dir = "./build/yak"
53- c .run (f"python { path_yakerize } --gh-components-dir { gh_components_dir } --build-dir { build_yak_dir } " )
55+ c .run (f"python { path_yakerize } \
56+ --gh-components-dir { DIR_OUT_GHUER_COMPONENTS } \
57+ --build-dir { DIR_OUT_YAK } \
58+ --manifest-path { PATH_MANIFEST } \
59+ --logo-path { PATH_LOGO } \
60+ --license-path { PATH_LICENSE } \
61+ --readme-path { PATH_README } " )
You can’t perform that action at this time.
0 commit comments