Skip to content

Commit

Permalink
feat: add tman create command
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Jan 5, 2025
1 parent 251f4e3 commit 066bbbf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions build/ten_runtime/feature/install_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,11 @@ def process_possible_published_results(file_paths: list[str]) -> list[str]:
args.src_pkg += f"@{versions[0]}"

cmd += [
"install",
"create",
args.pkg_type,
generated_app_name,
"--template",
args.src_pkg,
"--template-mode",
"--template-data",
f"package_name={generated_app_name}",
]

if args.build_type is not None:
Expand Down
7 changes: 3 additions & 4 deletions tests/ten_runtime/integration/common/install_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,11 @@ def main(args: ArgumentInfo) -> int:
args.src_pkg += f"@{versions[0]}"

cmd += [
"install",
"create",
args.pkg_type,
generated_app_name,
"--template",
args.src_pkg,
"--template-mode",
"--template-data",
f"package_name={generated_app_name}",
]

if args.log_level > 0:
Expand Down

0 comments on commit 066bbbf

Please sign in to comment.