Skip to content

Commit 9ec9d24

Browse files
committed
Add windows install script
1 parent 9633b0c commit 9ec9d24

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{% import 'platform' as platform %}
2+
{% if python and platform.system() == 'Windows' %}
3+
# Install uv
4+
Invoke-RestMethod https://astral.sh/uv/install.ps1 | Invoke-Expression
5+
6+
# Install Dependencies
7+
uv sync --group dev
8+
9+
# Install prek pre-commit hooks
10+
Invoke-RestMethod https://github.com/j178/prek/releases/download/v0.2.2/prek-installer.ps1 | Invoke-Expression
11+
12+
# Install pre-commit hooks
13+
prek install --install-hooks
14+
{% endif %}

0 commit comments

Comments
 (0)