Skip to content

Commit

Permalink
fix build err and [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyElaina committed Aug 9, 2023
1 parent 317b1f9 commit 2f4e584
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions mina/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ def handle(self, project: Project, options: MinaCommandNamespace):
(project.root / "pyproject.toml").read_text(encoding="utf-8")
)
mina_packages = pyproj.get("tool", {}).get("mina", {}).get("packages", [])
for i in project.root.glob(".mina/*.toml"):
name = i.name[:-5]
if name not in mina_packages:
mina_packages.append(name)

packages = options.packages

if options.all:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ excludes = [

[tool.mina.packages."cli-pdm".project]
name = "pdm-mina"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"pdm",
"mina-build",
Expand Down

0 comments on commit 2f4e584

Please sign in to comment.