Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def clean(self, directory: str, versions: Iterable[str]) -> None:
commands = [
["rm -rf airflow/www/static/dist"],
["rm -rf airflow/www/node_modules"],
["rm -rf airflow/ui/static/dist"],
["rm -rf airflow/ui/dist"],
["rm -rf airflow/ui/node_modules"],
]
for cmd in commands:
Expand All @@ -613,7 +613,7 @@ def build_standard(self, directory: str, artifacts: Any, **build_data: Any) -> s
]
for cmd in commands:
run(cmd, cwd=work_dir.as_posix(), check=True, shell=True)
dist_path = work_dir / "airflow" / "ui" / "static" / "dist"
dist_path = work_dir / "airflow" / "ui" / "dist"
return dist_path.resolve().as_posix()

def get_git_version(self) -> str:
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ exclude = [
]
artifacts = [
"/airflow/www/static/dist/",
"/airflow/ui/dist/",
"/airflow/git_version",
"/generated/",
]
Expand All @@ -190,6 +191,7 @@ include = [
]
artifacts = [
"/airflow/www/static/dist/",
"/airflow/ui/dist/",
"/airflow/git_version"
]

Expand Down