Skip to content

Commit

Permalink
python -m pip and rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
campbel committed Sep 14, 2023
1 parent 0453f8d commit ec46f28
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/poetry/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ tasks:
# TODO: formalize the implied dependency on python / pip
desc: Install poetry
status:
- pip show poetry &>/dev/null
- python -m pip show poetry &>/dev/null
cmds:
- pip install poetry
- python -m pip install poetry
11 changes: 11 additions & 0 deletions tools/rsync/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: "3"

includes:
os: ./task_{{OS}}.yaml

tasks:
install:
desc: Install rsync
cmds:
- task: os:install
9 changes: 9 additions & 0 deletions tools/rsync/task_darwin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: "3"

tasks:
install:
status:
- command -v rsync &>/dev/null
cmds:
- brew install rsync
9 changes: 9 additions & 0 deletions tools/rsync/task_windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: "3"

tasks:
install:
cmds:
- |
echo "not implemented"
exit 1

0 comments on commit ec46f28

Please sign in to comment.