itw-python-builder 0.1.37__tar.gz → 0.1.38__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/PKG-INFO +1 -1
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/tasks.py +2 -11
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/PKG-INFO +1 -1
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/pyproject.toml +1 -1
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/LICENSE +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/README.md +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/.pylintrc +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/__init__.py +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/cli.py +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/ssr_tasks.py +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/templates/server.sitemap.snippet.ts +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/templates/sitemap.routes.ts +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/utils.py +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder/version.py +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/SOURCES.txt +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/dependency_links.txt +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/entry_points.txt +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/requires.txt +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/top_level.txt +0 -0
- {itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/setup.cfg +0 -0
|
@@ -61,18 +61,9 @@ def build_frontend(ctx: Context, branch: str, ssr: bool = False) -> None:
|
|
|
61
61
|
|
|
62
62
|
def package_dist(ctx: Context) -> None:
|
|
63
63
|
"""Tar the dist/ output directory into dist.tar.gz."""
|
|
64
|
-
|
|
65
|
-
if not os.path.isdir(dist_dir):
|
|
64
|
+
if not os.path.isdir(os.path.join(os.getcwd(), 'dist')):
|
|
66
65
|
raise RuntimeError('No dist/ directory found after build — did `ng build` succeed?')
|
|
67
|
-
|
|
68
|
-
target_dir = dist_dir
|
|
69
|
-
if not is_ssr_project():
|
|
70
|
-
for root, dirs, files in os.walk(dist_dir):
|
|
71
|
-
if 'index.html' in files:
|
|
72
|
-
target_dir = root
|
|
73
|
-
break
|
|
74
|
-
|
|
75
|
-
ctx.run(f'tar -czf dist.tar.gz -C "{target_dir}" .')
|
|
66
|
+
ctx.run('tar -czf dist.tar.gz -C dist .')
|
|
76
67
|
|
|
77
68
|
|
|
78
69
|
_GITLAB_API_HOST_MAP = {
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "itw_python_builder"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.38"
|
|
8
8
|
description = "Standardized Django deployment pipeline with Docker, testing, and SonarQube integration"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/requires.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.1.37 → itw_python_builder-0.1.38}/itw_python_builder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|