Skip to content

Commit ec889b9

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

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This script is for Windows native development (outside of devcontainer)
2+
{% if python %}
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 %}

template/.devcontainer/postCreateCommand.sh.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3+
# This script is for Linux/macOS and devcontainer usage
34
{% if python %}
45
# Install uv
56
curl -LsSf https://astral.sh/uv/install.sh | sh

0 commit comments

Comments
 (0)