Skip to content

Commit

Permalink
adding support for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoiro3 committed Feb 19, 2022
1 parent 3e03f9e commit b916f1f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
## 0.2.2
## 0.2.9

- Added support for macOS

## 0.2.2 (pre-release)

- Added progress bar to terminal output using [tqdm](https://github.com/tqdm/tqdm).

## 0.2.1
## 0.2.1 (pre-release)

- Added asynchronous importing of docs, using [asyncio subprocesses](https://docs.python.org/3/library/asyncio-subprocess.html#asyncio.asyncio.subprocess.Process). This should half import times.
2 changes: 1 addition & 1 deletion mkdocs_multirepo_plugin/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def git_supports_sparse_clone() -> bool:

async def execute_bash_script(script: str, arguments: list = [], cwd: Path = Path.cwd()) -> str:
"""executes a bash script in an asynchronously"""
if platform == "linux" or platform == "linux2":
if platform in LINUX_LIKE_PLATFORMS:
cmd = " ".join(f'"{arg}"' for arg in arguments)
cmd = f'bash {script} {cmd}'
process = await asyncio.create_subprocess_shell(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'mkdocs_multirepo_plugin/scripts/sparse_clone_old.sh',
'mkdocs_multirepo_plugin/scripts/mv_docs_up.sh'
],
version="0.2.8",
version="0.2.9",
author="Joseph Doiron",
author_email="[email protected]",
description="Build documentation in multiple repos into one site.",
Expand Down

0 comments on commit b916f1f

Please sign in to comment.