Skip to content

Commit

Permalink
mina-build v0.6.1
Browse files Browse the repository at this point in the history
GreyElaina committed Mar 6, 2024
1 parent 9532cb1 commit a3479ad
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ includes = [

[tool.mina.packages.backend.project]
name = "mina-build"
version = "0.6.0"
version = "0.6.1"
description = "build backend for Mina Package Structure"
dependencies = [
"pdm-backend"
11 changes: 0 additions & 11 deletions src/mina_backend/hooks.py
Original file line number Diff line number Diff line change
@@ -34,17 +34,6 @@ def _using_override(config: Config, package_conf: dict[str, Any]) -> bool:
return config.data.get("tool", {}).get("mina", {}).get("override-global", False)


def _get_mina_packages(context: Context):
mina_packages = (
context.config.data.get("tool", {}).get("mina", {}).get("packages", [])
)
for i in context.root.glob(".mina/*.toml"):
name = i.name[:-5]
if name not in mina_packages:
mina_packages.append(name)
return mina_packages


def _get_standalone_config(root: Path, pkg: str):
config_file = root / ".mina" / f"{pkg}.toml"
if not config_file.exists():

0 comments on commit a3479ad

Please sign in to comment.